SA-MP Forums Archive
[Help] Setting Command With Key - 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)
+--- Thread: [Help] Setting Command With Key (/showthread.php?tid=553505)



[Help] Setting Command With Key - Arxalan - 30.12.2014

Hello , i want to know how to set a command with a key . I mean if i press f my car flips.


Re: [Help] Setting Command With Key - DavidBilla - 30.12.2014

Use OnPlayerKeyStateChange callback


Re: [Help] Setting Command With Key - XtremeR - 30.12.2014

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange

Read this.