Posts: 937
Threads: 106
Joined: Jan 2010
Reputation:
0
OnPlayerUpdate is avoided,
It can cause a server to lag.
And no you don't have to do it for me.
Also, Printf doesn't save to a open file to view just bans?
Posts: 6,129
Threads: 36
Joined: Jan 2009
First of all, your current anticheat code is messy and isn't really an anticheat, it's practically just a blacklist.
Secondly, you don't appear to have provided any code that shows you kill a timer once the player exits, do you actually do this?
Posts: 937
Threads: 106
Joined: Jan 2010
Reputation:
0
It killed the timer, when they disconnected,
otherwise, how would it update on a constant?
Posts: 6,129
Threads: 36
Joined: Jan 2009
The timer doesn't automatically kill itself. You need to manually kill it. Timers don't stop based on whether you use a SA-MP function or not.
Posts: 937
Threads: 106
Joined: Jan 2010
Reputation:
0
I meant WeaponHacks.log, ban.log was just a Example.
Anyways, What's a better way to call it, other than OnPlayerUpdate.
Because it causes a server over all to lag.