Quote:
Originally Posted by SilverKiller
pawn Код:
#define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) // on top
then,
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (PRESSED(KEY_SUBMISSION)) { // Your Code { // Your code } } } return 1; }
|
can you make it with that command up ? i am geeting errors :@