Quote:
Originally Posted by Gh05t_
KEY_JUMP will still be passed to those whose value is greater than 1!
pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_JUMP) { if(RegStep[playerid] > 1) return 0; } return 1; }
|
That was not the question, though. My code works just fine.