[FilterScript] [FS]CheckAFK
#1

Info:
This simple checks if a players is not moving, It don't detects if the player is paused, only if the position is the same.
Yeah, It's a simple script, but maybe it's useful for someone.

Commands:
/checkafk (playerid), then the script will check for 10 seconds if the "playerid" is at the same position (Kick).
If different position = return message that the player isn't afk.

Download:
http://pastebin.com/aZ2VgW6N
Reply
#2

and what if he is sniping somewhere and he lies there, kick?
very annoying imo
Reply
#3

the sniping guy receives a message, then he just need to move ^^.

Yeah need some fixes, but that just a example.

If someone will being using it will need to re-adapt to the mode (Like a waiting time before reusing the cmd).

Obvious, there are better methods like onplayerupdate (checking if the player is paused)...

But i just posted because someone may need that sometime =)
Reply
#4

maybe make the time longer then 10 seconds, 10 is short
and then maybe let a message send to the admin and let him decide to kick or not
Reply
#5

yeah, can be, when i got some free time, i promise i update

hmm

if you wan't to check my other works:
http://forum.sa-mp.com/index.php?topic=163586.0 - ExploBullets
http://forum.sa-mp.com/index.php?topic=163603.0 - Goggles Desyncer

ty cya
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)