[FilterScript] Pause Check & Kick! - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Pause Check & Kick! (
/showthread.php?tid=523158)
Pause Check & Kick! -
Vanter - 30.06.2014
Pause Check and Kick!
so, Here's a simple pause checker and kick! filterscript
Requirments:
None.
Contains:
Checks if a player was AFK for 2 minutes, it kicks them. (you of course can edit it to fit your own will)
THAT'S IT
Just open this pastebin: http://pastebin.com/vg4dfjrp
and copy it's components in your gamemode
Thank You,
Vanter
Re: Pause Check & Kick! -
Faix - 01.07.2014
Cool...
Re: Pause Check & Kick! -
Development - 01.07.2014
Very easy and simple script, it'll be helpful to some people who might want to implement AFK checks into their server.
Respuesta: Pause Check & Kick! -
SickAttack - 01.07.2014
Not that efficient. There's a better method.
Re: Pause Check & Kick! -
Vanter - 02.07.2014
Thanks all for your comments, yeah it's supposed to be simple.
Re: Pause Check & Kick! -
Omar55555 - 02.07.2014
nice, i like that
Re: Pause Check & Kick! -
n0minal - 02.07.2014
I dont like that, when i ESC to change my screen resolution or something like this i'll get kick? lol
@Edit: It probably dont works, this script haven't a timer to check for the pausing, and haven't a detection method for pressing ESC key, surely dont works. This script just compares the old and new position of player, if you aren't moving you get kick (or no, because the public will never be called).
Re: Pause Check & Kick! -
awsomedude - 02.07.2014
There is better methods to check if a player is paused and also PauseCheck won't get check unless you add a timer to it.