SA-MP Forums Archive
SpeedBoost - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SpeedBoost (/showthread.php?tid=245133)



SpeedBoost - IvancheBG - 30.03.2011

Can someone tell me how to do that when i am in a car and press the left mouse button the car is getting faster.How to do that?


Re: SpeedBoost - Mauzen - 30.03.2011

Use Get/SetVehicleVelocity and GetPlayerVehicleID in OnPlayerKeystateChange. Multiply all the current velocity values with like 1.1 to boost the vehicle.


Re: SpeedBoost - IvancheBG - 30.03.2011

can you tell me how here is my script

http://pastebin.com/SfF5hw6x


Re: SpeedBoost - HyperZ - 30.03.2011

Speed Boost.