SA-MP Forums Archive
[HELP]Keys question[HELP]!!! - 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]Keys question[HELP]!!! (/showthread.php?tid=376397)



[HELP]Keys question[HELP]!!! - Cjgogo - 10.09.2012

How can I define custom keys, like U, L, J(that usually have no action assigned in GTA).I have seen in a server press L to turn [HEAD]Lights on.And as far as I am concerned, there's no special action assigned to L in GTA SA.Thanks in advance.


Re: [HELP]Keys question[HELP]!!! - Audiophr3ak - 10.09.2012

You can't use any keys, which are not listed here: https://sampwiki.blast.hk/wiki/GetPlayerKeys


Re: [HELP]Keys question[HELP]!!! - clarencecuzz - 10.09.2012

The only possible way you can use the 'L' key for something, is if you have edited your game settings/configurations that have redefined the action of the L key.