19.07.2016, 20:46
Quote:
You should take a look at OnPlayerKeyStateChange under the section How to check for a key that has been pressed.
Do you mean if the player presses the fire button that the value should increase, or that if the gun fires that the value should increase (a gun can fire multiple times by hodling the fire key). |