Originally Posted by bl4nk
Once 1.3 lands, you could rewrite this to use OnPlayerRunCmd, making it so you're not having to constantly check every player inside of OnGameFrame.
is there a similar function (OnPlayerStateChange?) to catch flag changes for say FL_ONGROUND?
otherwise there would need to be a scan to find when that state changes to catch the 1st jump. even if OnPlayerRunCmd() fires before the player's flags change you still need to detect the landing again to reset the jump count properly.