30.12.2013, 17:44
Hello, I need some help.
When I shoot with a country rifle (Weapon ID 33), I want to make a reload animation after the shot. When the animation is over the player will be able to shoot once again, and reload and then shoot and so on.
I was trying it with OnPlayerKeyStateChange, but I failed somehow.
Could someone provide me the code with an explanation?
Thanks in advance!
When I shoot with a country rifle (Weapon ID 33), I want to make a reload animation after the shot. When the animation is over the player will be able to shoot once again, and reload and then shoot and so on.
I was trying it with OnPlayerKeyStateChange, but I failed somehow.
Could someone provide me the code with an explanation?
Thanks in advance!