21.10.2014, 00:38
Its okay but it will glitch. Lets say for example that you are shooting and you press C key once and continue shooting it will detect it as Cbugging. Add a check or such that will add up to certain variable when they do that action. If variable lets say reaches 2-3 times in maximum of 6-7 seconds then detect it as C-bug.
Its a nice tutorial but I think you rushed it a bit. You messed up at few places, like it was asked before, why did you use OnPlayerStateChange? You are detecting player keys, not detecting their movement or such.
Its a nice tutorial but I think you rushed it a bit. You messed up at few places, like it was asked before, why did you use OnPlayerStateChange? You are detecting player keys, not detecting their movement or such.