16.07.2014, 09:22
OnPlayerUpdate is a bad call I must agree, because it gets called 30 times in one second. I made a global timer (OnGameModeInIt) of 3 secs, so it checks every 3 seconds all the players. Wasn't lagging for me. If you see any lag you could easily increase it and have a few seconds of delay until the hacker gets called.
To avoid wrong people getting banned you can also make a check, for example, if is true, you set their check to 1 and then send warning to online admins, if checked again (reached 2) then you can ban them. However this might take a bit longer to actually get called.
To avoid wrong people getting banned you can also make a check, for example, if is true, you set their check to 1 and then send warning to online admins, if checked again (reached 2) then you can ban them. However this might take a bit longer to actually get called.