Modifying speed
#4

setvehiclevelocity sets the speed of a vehicle
wiki:
https://sampwiki.blast.hk/wiki/SetVehicleVelocity

A nice way to make vehicles faster is to do something like:

OnPlayerUpdate:
if the player is in a vehicle
get the players vehicle
get the vehicles velocity
then, set the vehicles velocity to some number more than what it currently is.
Reply


Messages In This Thread
Modifying speed - by matejdro - 27.07.2010, 23:28
Re: Modifying speed - by Kar - 27.07.2010, 23:35
Re: Modifying speed - by matejdro - 27.07.2010, 23:37
Re: Modifying speed - by John_F - 27.07.2010, 23:38

Forum Jump:


Users browsing this thread: 1 Guest(s)