superspeed in car
#4

Quote:
Originally Posted by Florin48
Посмотреть сообщение
you need this in OnPlayerKeyStateChange, or something, I think there are more ways to make a speed boost.

if(speed[playerid] == 1)
{
new Float:v[3];
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
GetVehicleVelocity(GetPlayerVehicleID(playerid), v[0],v[1],v[2]);
SetVehicleVelocity(GetPlayerVehicleID(playerid), v[0]*1.8,v[1]*1.8,v[2]*1.8 );
}
}
Why use cells tho?
Reply


Messages In This Thread
superspeed in car - by Jaua10 - 13.07.2018, 14:57
Re: superspeed in car - by coool - 13.07.2018, 15:12
Re: superspeed in car - by Florin48 - 13.07.2018, 15:12
Re: superspeed in car - by Lokii - 13.07.2018, 15:14
Re: superspeed in car - by Florin48 - 13.07.2018, 15:16
Re: superspeed in car - by Jaua10 - 13.07.2018, 15:46

Forum Jump:


Users browsing this thread: 4 Guest(s)