14.01.2013, 12:06
Hello guys. So i need a little tip for my anti-gun system. Right now i have anti-gun placed in OnPlayerKeyStateChange. I mean.. when player trying to shoot (KEY_FIRE) weapon been removed. But some players bypass this system and can shoot before system disarms him. I was thinking to use timer to check is player have a weapon, but i think that way will use many memory, becouse timer will be about 500ms. (then player not able to shoot).
So, what way can i use to create anti-gun system without a timer which use many memory and state change?
Help pls
P.S. Sorry for my bad english.
So, what way can i use to create anti-gun system without a timer which use many memory and state change?
Help pls
P.S. Sorry for my bad english.