Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - VK.Jona83Killer

#17
Use this:

else if ( cmd == "engine" )
{
if ( !text ) MessagePlayer( "type /engine (on/off)", player);
else if ( text == "on" )
{
local veh = player.Vehicle;
veh.ResetHandlingData( 13 );
veh.ResetHandlingData( 14 );
MessagePlayer("Engine turned on!", player);
}
else if ( text == "off" )
{
local veh = player.Vehicle;
veh.Speed = Vector( 0, 0, 0 );
veh.SetHandlingData( 13, 0 );
veh.SetHandlingData( 14, 0 );
MessagePlayer("Vehicle lights are turned off", player);
}
else MessagePlayer("Engine turned off!", player);
}
#18
Hello everyone, in several servers I have seen these things but I have never known exactly what this is, I think they are sprites or objects without collision or something like that, but could someone tell me what exactly this is and how can I add it?



#19
It depends on the work you want to add to your server

For example the job of fireman: http://forum.vc-mp.org/?topic=5499.0
#20
Script Showroom / Re: Pure DeathMatch Script
Jan 18, 2018, 01:57 AM
Good  Job :)
#21
add this in your function onPlayerJoin

menuJoin( player );
#22
here the fixed command:

else if(cmd == "killplayer")
{
          if ( pstats[ player.ID ].Level < 10 ) return MessagePlayer( "[#ff0000][INFO][#ffffff] You Are Not Authorized To use This Command.", player);
   else if ( !text ) return Message( "Usage: /"+cmd+" <player>" , player );
   {
   else
   {
   local plr = FindPlayer( text )
         if ( plr )
         plr.Health = 0
   }
}
}
#23
Videos & Screenshots / Re: Fun with NPCs
Jan 15, 2018, 05:57 PM
lol nice hahaha
#24
are you using my credits :v xd
#25
Servers / Re: Pakistan Theft Auto Reloaded
Jan 14, 2018, 04:11 PM
Nice Forum and Good Luck men
#26
That men took that system from here:

https://forum.vc-mp.org/?topic=9.msg9#msg9
#27
I was 11 years a month ago

and look at my server papu
#28
I'm sure you want a swimming system.
Well, with this little function you can change it to give you a vehicle.
As for example in American Roleplay.



Well, here the code

function onPlayerHealthChange( player, oldhp, newhp )
{
if ( player.Pos.z <= GetWaterLevel() ) return MessagePlayer(""Learn to swim men!,player);
}

Note: I have not tried it, it may have errors
#29
I already registered
#30
Thanks Bro :)