20.04.2011, 14:20
Put it at the top of your gm with your other defines. Not in a callback.
Simple.
pawn Код:
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))