Posts: 113
Threads: 26
Joined: Feb 2011
Reputation:
0
how do I make a function when a player presses any key?
Posts: 113
Threads: 26
Joined: Feb 2011
Reputation:
0
yes i searched it, but the OnPlayerKeyStateChange, if isn't specified the key, it run if you press only the sprint key... Or fire key, too
Posts: 1,826
Threads: 52
Joined: Feb 2012
Reputation:
0
Tip: Directional keys do not trigger OnPlayerKeyStateChange (up/down/left/right). They can only be detected with GetPlayerKeys (in OnPlayerUpdate).
Posts: 113
Threads: 26
Joined: Feb 2011
Reputation:
0
ah yes, i look later, thx