How could sa-mp solve /q issues
#21

Quote:
Originally Posted by 3ventic
View Post
It IS possible to keep a player's account on a server (idle, but interactable) for a few seconds after /q, isn't it? The client itself will close when /q is used, and the server disconnects the client, but keeps a 'fake' player on the server, at the same position for a few seconds, before deleting it. The fake player would go through all callbacks etc normally.
That's what I was thinking. The player would eventually leave after the quit delay, and all functions would still report correctly to the server (i.e. health if they were damaged during the quit delay window), but the client would exit normally at the normal time.
Reply
#22

I believe it's pretty easy to detect death evades by making a simple check for OnPlayerTakeDamage/ShootPlayer and checking whether he quits within 5 seconds.

Simply make the script give the kill and the leaver be punished? not too hard o.o
Reply
#23

As does SACNR, though with arrests not kills.
Reply
#24

Good idea. Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)