05.02.2011, 11:15
That code you posted - you should put it under OnGameModeInIt. Why? Because I think you use it as a global timer to update zones. If you put it under OnPlayerSpawn this will only work if players spawns, and only then timer will start - and then for every player who connects (you can find it buggy).
For the ping kicker. I think you should use a timer, 'cause OnPlayerUpdate is called pretty often, so you don't need it, since players ping is updated every few seconds.
(I might be wrong.)
For the ping kicker. I think you should use a timer, 'cause OnPlayerUpdate is called pretty often, so you don't need it, since players ping is updated every few seconds.
(I might be wrong.)