Reading when they spawn, rather then connect.
#1

Fixed.
Reply
#2

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?
Reply
#3

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?
Reply
#4

It killed the timer, when they disconnected,
otherwise, how would it update on a constant?
Reply
#5

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.
Reply
#6

Quote:
Originally Posted by Colossus_
Посмотреть сообщение
Print/Printf prints/saves in server logs.
Yes, but not to a Ban.log which was my point.
But I added it myself.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)