SA-MP Forums Archive
[Question]AFK - 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: [Question]AFK (/showthread.php?tid=280487)



[Question]AFK - Trol_Patrol - 01.09.2011

I saw some server that If you going Alt Tab/ esc. It says: "AFK, %d Seconds"
Someone know how to make it ? :O


Re: [Question]AFK - Trol_Patrol - 01.09.2011

Anyone ?


AW: [Question]AFK - Padarom - 01.09.2011

There is an include which checks if the player is in the menu or not (if he's using alt + tab he will also get in the menu). I dont know it's name, but if you find it you can start a repeating 1-second timer and increase an integer for the player which is ment to be his afktime in seconds. Then you can show this via SendClientMessage, TextDraws, 3DLabels or whatever. When he get's back just kill the timer.


Re: [Question]AFK - Trol_Patrol - 01.09.2011

Okay, someone know how the include called ?


Re: [Question]AFK - Tigerbeast11 - 01.09.2011

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


Re: [Question]AFK - Improvement™ - 01.09.2011

Quote:
Originally Posted by Trol_Patrol
Посмотреть сообщение
Okay, someone know how the include called ?
I did saw something about a "AFK Checker" Filterscript a couple days back.
Perhaps to search throught some pages in this section.