28.04.2011, 08:06
OnPlayerKeyStateChange is not called for the movement keys. You would've known if you read the wiki properly:
Use a timer/OnPlayerUpdate instead.
Quote:
Originally Posted by wiki
This callback is called when the state of any key except the movement keys (up, down, left, right) changes (i.e. are pressed or released).
|