28.08.2012, 10:51
Hello all,
I need to detect if KEY_SPRINT/KEY_WALK is pressed on callback 'OnPlayerUpdate' despite of other keys.
Example:
I press KEY_SPRINT and KEY_FIRE at the same time. I call 'GetPlayerKeys'.
How can I check if KEY_SPRINT is pressed despite of the rest of the pressed keys?
I need to detect if KEY_SPRINT/KEY_WALK is pressed on callback 'OnPlayerUpdate' despite of other keys.
Example:
I press KEY_SPRINT and KEY_FIRE at the same time. I call 'GetPlayerKeys'.
How can I check if KEY_SPRINT is pressed despite of the rest of the pressed keys?