[FilterScript] [FS][0.2.X] Minimized (alt+tab - AFK) Kicker
#1

Uses the new OnPlayerUpdate() public function. Basically kicks anyone who\'s minimized the game (alt+tab). Not sure how it\'s useful yet, maybe for those who have to minimize the game to use trainers or address hackers.

Downloads:
Download via Zezombia (.amx + .pwn)
Download via UploadFFS (.amx + .pwn)
Download via Pastebin.com (.pwn)

Updates:
  • 23/11/08
    [0]Loop removed from OnPlayerUpdate (should minimise server lag) - thanks Killerkid. and Seif,
    [0]Player given slightly longer to connect before effective (to stop connect kicks).
Feel free to integrate or modify this in any way you feel fit.
Thanks to [-[ERP]Karlip-] for the [0.2.X] in title thing.
Reply
#2

Hey,Forfarmer,shut up.


PS: Add [0.2.X] to the title of FS.

Nice btw.
Reply
#3

Nice It\'s basicaly a Idle kicker :P. I might use this with my upcomming gamemodes
Reply
#4

Thanks ξezombia
Reply
#5

I think you missed the point of OnPlayerUpdate(playerid).
Reply
#6

Doing a loop in OnPlayerUpdate? That has to be bad..
Reply
#7

Quote:
Originally Posted by yom
I think you missed the point of OnPlayerUpdate(playerid).
Correct. I have no idea what it\'s for.

EDIT:

Quote:
Originally Posted by Killerkid.
Doing a loop in OnPlayerUpdate? That has to be bad..
Quote:
Originally Posted by Seif_
Why are you using a loop in OnPlayerUpdate while you could just use \'playerid\'?
Good points, updating.
Reply
#8

: warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
huh?
old a_samp include....
but why it kicks me,when im choosing class?
Reply
#9

Quote:
Originally Posted by coold1000
: warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
huh?
Download the 0.2X includes
Reply
#10

it kicks me at class selection..
"good work"
Reply
#11

ok only 1 mistake left, it kicks me when i look at map...?
Reply
#12

nice! but yes, if i look a map - kicked.
if i have slow connection (before ping timeout) - kicked.

this script killing everyone. not only winkey/alt+tab
Reply
#13

i suppose this will be good for time wasters and slot wasters.
maybe it could kick full bots after they join and dont let people join
Reply
#14

Quote:
Originally Posted by darkrider366
i suppose this will be good for time wasters and slot wasters.
maybe it could kick full bots after they join and dont let people join
I can see it being extremely helpful for rp servers alike.
Either way, this will be helpful for my GM
Reply
#15

y_less already made and released an fs that does the exact same thing.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)