Kicking Paused Players - 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: Kicking Paused Players (
/showthread.php?tid=296506)
Kicking Paused Players -
Michael[NBK] - 11.11.2011
Hey,
So i have this on going problem with paused players, They annoy all of my community when pausing to avoid death or going AFK for hours at a time, to get level up etc...., How can i kick them from the game? I know about settimer to time how long they are paused for, it's just what would i define to kick the player? if(PlayerPaused == true) something like that?
Thanks in advance
Re: Kicking Paused Players -
Calgon - 11.11.2011
You can use IsPlayerPaused, a function released by [03]Garsino:
http://forum.sa-mp.com/showpost.php?...postcount=1223
Re: Kicking Paused Players -
SmiT - 11.11.2011
http://forum.sa-mp.com/showpost.php?...postcount=1223
EDIT: nevermind, Calgon was faster.
Re: Kicking Paused Players -
Michael[NBK] - 11.11.2011
Thank you