SA-MP Forums Archive
GetPlayerKeys - 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: GetPlayerKeys (/showthread.php?tid=245034)



GetPlayerKeys - Jony_King - 29.03.2011

Hey guys,

how can I define a new key? For Example numpad "2" ?


Re: GetPlayerKeys - Jochemd - 29.03.2011

Such things are impossible.

Only these keys are currently possible.


Re: GetPlayerKeys - Jony_King - 29.03.2011

Can you give me an example?


Re: GetPlayerKeys - Jochemd - 29.03.2011

You can't define new keys, but if you want to check for a key being pressed, follow the tutorial which is here