24.05.2012, 00:55
I have trouble using
In this code
Problem:
When player press and hold or crouch or holding any other key this message will not be call,
I interested how to ignore all other key ?
Код:
#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Код:
if (PRESSED( KEY_FIRE )) { SendClientMessage(playerid, 0xFFFFFFFF, "You fire a big cow at you enemy."); }
When player press and hold or crouch or holding any other key this message will not be call,
I interested how to ignore all other key ?