Keys? - 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: Keys? (
/showthread.php?tid=115675)
Keys? -
GforceNL - 25.12.2009
Where Can i see what the keys are... i now have this:
if (newkeys & KEY_FIRE)
I want to have the SHIFT Key on that... How can i change?
Re: Keys? -
Eazy_Efolife - 25.12.2009
Quote:
Originally Posted by GforceNL
Where Can i see what the keys are... i now have this:
if (newkeys & KEY_FIRE)
I want to have the SHIFT Key on that... How can i change?
|
https://sampwiki.blast.hk/wiki/GetPlayerKeys#Key_List
Re: Keys? -
GforceNL - 25.12.2009
Quote:
Originally Posted by Compton's Eazy E
|
thanks
Re: Keys? -
Oxside - 25.12.2009
You can not say if keypress = shift must happen...
But you can check for keys wich are implented in GTA. If the player has Second Fire Key on shift.
the player must click shift.