28.10.2014, 12:45
*facepalm* right...
Perhaps this? This means if they're not holding KEY_JUMP and KEY_HANDBRAKE at the same time, and KEY_JUMP wasn't the last key pressed/held, continue.
Just a proposal, but it seems like it should work.
pawn Код:
if((newkeys & KEY_JUMP) && !(newkeys & KEY_HANDBRAKE) && !(oldkeys & KEY_JUMP))
Just a proposal, but it seems like it should work.