10.11.2010, 17:51
I don't understand your post, but to define this, you simply need to add:
to your gamemode / filterscript.
After defining it, you can use it simply in OnPlayerKeyStateChange, just as default defined keys. Example:
pawn Код:
#define KEY_AIM (128)
After defining it, you can use it simply in OnPlayerKeyStateChange, just as default defined keys. Example:
pawn Код:
if(newkeys & KEY_AIM && !IsPlayerInAnyVehicle(playerid))