SA-MP Forums Archive
Undefined symbol "KEY_AIM" - 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: Undefined symbol "KEY_AIM" (/showthread.php?tid=466072)



Undefined symbol "KEY_AIM" - TonyII - 25.09.2013

Hey, I use (newkeys & KEY_AIM) under OnPlayerKeyStateChange and I get a error that it's a undefined symbol, wiki samp shows KEY_AIM for RMB(Right Mouse Button), what could be wrong?


Re: Undefined symbol "KEY_AIM" - Dystans - 25.09.2013

You must first define it:
pawn Код:
#define KEY_AIM KEY_HANDBRAKE
(or Key_Aim on Wiki SA:MP).