01.01.2018, 20:16
Another thing: new playerState can simply go below PRESSED (assuming it's not needed further in the callback) as it's only used in that specific condition. For more optimization, you could also simply do: GetPlayerState(playerid) == P.... This will help get into better coding practice but to each their own.