SA-MP Forums Archive
AFK system - 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: AFK system (/showthread.php?tid=462025)



Solved - Lajko1 - 04.09.2013

Solved


Re: AFK system - nor15 - 04.09.2013

https://sampforum.blast.hk/showthread.php?tid=383287
You can change the AFK_MINUTES , AFK_SECONDS or AFK_HOUR
Credits to Lordzā„¢


Re: AFK system - Lajko1 - 04.09.2013

Thank you


Re: AFK system - Lajko1 - 04.09.2013

Oh god this search button find everything else but not thing that I'm searching for :S is there any tutorial how to make In game tutorial to learn players about server's mode and so on.. ?


Respuesta: AFK system - adrianxd - 04.09.2013

this?

https://sampforum.blast.hk/showthread.php?tid=354263

by: XStormiest


Re: AFK system - Lajko1 - 05.09.2013

Umm I meant the tutorial in server.. when players connect and register so than they proceed with tutorial that are guiding them about server and so on, is there and tutorial how to make it ?


Re: AFK system - Isolated - 05.09.2013

https://sampforum.blast.hk/showthread.php?tid=283920 Also, I don't think that's what you meant, seeing as you started the thread with an AFK system. It's not against the rules to change topic, there's no need to lie.


Re: AFK system - Lajko1 - 05.09.2013

Okay I will try to make something from this example thank you, what about afk system I was searching and thinking how to script it but I just can't figure out how can I detect if player is paused or he is not moving for more than 5 min in this case he would be kicked out, I just can't figure out :/


Re: AFK system - Isolated - 05.09.2013

OnPlayerUpdate I think however, you could always download someones version then find out how they did it.


Re: AFK system - Lajko1 - 05.09.2013

Umm I was trying to search but there are only with /afk and /back command I don't need this, I need only to check if player is under ESC of if he is not moving for like 5 minutes he will be kicked from server.