[Help] Setting a vehicle speed.
#1

For this, I want to create a command that boosts the player's vehicle's speed by 50 mph every time it is used. I tried to search for a function in SA:MP, but nothing came up. I know that this is possible as I have seen it done on many servers.

Код:
CMD:speed(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
	// Insert function here
    }
    return 1;
}
Reply
#2

https://sampwiki.blast.hk/wiki/SetVehicleVelocity this should help you out
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)