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



OnplayerKeyStateChange - Greaper - 12.01.2014

If the Letter Y is KEY_YES

What Is The Key Letter F?

HELP ME ++1 REP


Re: OnplayerKeyStateChange - CutX - 12.01.2014

we can only use the keys which are listed here:
https://sampwiki.blast.hk/wiki/Keys

key "F" would be: KEY_SECONDARY_ATTACK
same as ENTER key

any other key which isn't in that list can't be detected by samp


Re: OnplayerKeyStateChange - xZdadyZx - 12.01.2014

https://sampwiki.blast.hk/wiki/Keys This should help. It should be KEY_SECONDARY_ATTACK ///// Sorry for double post lol he posted few secs before me