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



KeyState - Kanji_Suzuki - 05.05.2010

Hello

whats the KeyState for right click (aim)

i have looked on wiki and cant find


Thanks


Re: KeyState - boelie - 05.05.2010

128


Re: KeyState - Whitetiger - 05.05.2010

..or KEY_HANDBRAKE, while on foot, KEY_HANDBRAKE = aim

but, KEY_HANDBRAKE is defined as 128, so either will work really.


Re: KeyState - Kanji_Suzuki - 05.05.2010

Quote:
Originally Posted by boelie
128
Thanks m8


Re: KeyState - Kanji_Suzuki - 05.05.2010

Hmm i tryed this and its left click not aim:S


Re: KeyState - Correlli - 05.05.2010

Quote:
Originally Posted by J.Bull
Hmm i tryed this and its left click not aim:S
128 is KEY_HANDBRAKE (VEHICLE_HANDBRAKE) and it's the one you set in your controls settings.


Re: KeyState - boelie - 05.05.2010

are you all sure of that ??

i use the aim key alot and i make 128