SA-MP Forums Archive
Killing player when AFK(in ESC problem). - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Killing player when AFK(in ESC problem). (/showthread.php?tid=451000)



Killing player when AFK(in ESC problem). - Activest - 15.07.2013

Hey.
I have to ask you one thing, I did when player is AFK he will die, but when he did ESC he can't die untill he resumes the game then he dead.
What can I do? to kill him when he's in ESC?


Re: Killing player when AFK(in ESC problem). - Passout - 15.07.2013

I don't think you can kill them while they are in ESC...


Re: Killing player when AFK(in ESC problem). - JimmyCh - 15.07.2013

You can't, when players are AFK, you can can't do anything about it, even if you have ever tried spawning them, they spawn after they're back..


Re: Killing player when AFK(in ESC problem). - Activest - 15.07.2013

Well, I want that the actions in OnPlayerDeath will work on the player that the server detect that he AFK and then he will get kick out from the activity(not from the server).
How can I use it? CallLocalFunction? OnPlayerDeath(playerid)?


Re: Killing player when AFK(in ESC problem). - Champ - 15.07.2013

you can't kill player while he is escape. but check the topic ↓

https://sampforum.blast.hk/showthread.php?tid=189884

that would help you to develope new idea.