28.10.2014, 11:09
This is one of those cases where it might actually be useful to use == instead of & for comparison, because you want to know if they press a single key. e.g.:
Unsure if it works, but worth a try.
pawn Код:
if ((newkeys == KEY_JUMP) && !(oldkeys & KEY_JUMP))

