30.06.2012, 10:42
Hi I have started to make an anticheat.Would using OnPlayerUpdate lag the server too much or should i put it in a 1 second timer?
What would be better?
What would be better?
OnPlayerUpdate Lagging server for many players, Timer Won't lag Because it is defined for each player
|
SetTimerEx("OnPlayerUpdate", 62, true, "i", playerid);
Complete nonsense,
Onplayerupdate is told to lag because it is basically a very fast timer, Its basically something like this: pawn Код:
A timer would be a better choice, because you do not need to check for hacks 16 times a second, A time of 2500 would be fine for an anti cheat, while OnPlayerUpdate uses around 62-63... |