SA-MP Forums Archive
Kick Player - 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: Kick Player (/showthread.php?tid=387051)



Kick Player - Glad2BeHere - 23.10.2012

How to kick player if they tab to long or if they stand in a area to long?


Re: Kick Player - Laure - 23.10.2012

Never heard of click?


Re: Kick Player - KevinPRINCE - 23.10.2012

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
How to click player if they tab to long or if they stand in a area to long?
Use search engine or wiki.sa-mp.com
There is alot of FS on it "anti alt tab"

OT:This forum is for scripting help not script request


Re: Kick Player - niels44 - 23.10.2012

set a timer of 30 seconds at onplayerupdate, if he is still at same place set a new timer of 10 mins, if he is again at same place, then set another timer of 20 mins, if hes still at same place, use Kick(playerid);

this will kick the player after ~ 30 mins of being AFK