SA-MP Forums Archive
Set Car Speed? - 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: Set Car Speed? (/showthread.php?tid=275332)



Hotkeys? - Deltac0 - 09.08.2011

Im scripting a stunting server GM from scratch and I would like to make a hotkey for a speedoost (most likely ALT)

The problem is, I don't know any function to set car speed... I know it's possible, have seen it in few servers.
EDIT: And another question is, how to get hotkey working?
EDIT2: I figured out the hotkey problem, but now I got new idea...
Press ALT to get nitro (done)
Press CTRL to fix your car (function done, need the hotkey value)
Press LSHIFT to flip your car (function done, need the hotkey value)


Re: Set Car Speed? - JackT - 09.08.2011

to see how to make ur car fast: https://sampwiki.blast.hk/wiki/SetVehicleVelocity
to see all the keys: https://sampwiki.blast.hk/wiki/GetPlayerKeys