SA-MP Forums Archive
[Help] 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: [Help] OnPlayerKeyStateChange (/showthread.php?tid=488979)



[Help] OnPlayerKeyStateChange - BornHuman - 20.01.2014

Hi. For a long time I have sat back and watched other servers use 'F' when I have to use 'Y'. Is their anyway I can bind /open to 'F' and not 'Y'?

Thanks in advance
-Jason


Re: [Help] OnPlayerKeyStateChange - Chenko - 20.01.2014

I believe KEY_SECONDARY_ATTACK is F


Re: [Help] OnPlayerKeyStateChange - King Ace - 20.01.2014

KEY_SECONDARY_ATTACK is the only possibility since F and ENTER do the same things ingame.
https://sampwiki.blast.hk/wiki/Keys
Fifth from the top.


Re: [Help] OnPlayerKeyStateChange - MP2 - 20.01.2014

The keys in SA-MP are the in-game actions, not the literal keys themselves, for example KEY_FIRE, not KEY_F or KEY_B.

Perhaps you re-assigned the vehicle enter/exit key to 'Y' in your settings?