Help with car
#6

So you want the vehicle to "jump" upward, am I right? If so...

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/jump", cmdtext))
    {
        if(IsPlayerInAnyVehicle(playerid))
        SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.2);
	return 1;
    }
}
Reply


Messages In This Thread
Help with car - by itachi - 03.10.2015, 17:26
Re: Help with car - by AbyssMorgan - 03.10.2015, 17:27
Re: Help with car - by itachi - 03.10.2015, 17:34
Re: Help with car - by AbyssMorgan - 03.10.2015, 17:43
Re: Help with car - by itachi - 03.10.2015, 17:48
Re: Help with car - by d1git - 03.10.2015, 17:53
Re: Help with car - by itachi - 03.10.2015, 18:11

Forum Jump:


Users browsing this thread: 6 Guest(s)