[Question]AFK
#1

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

Anyone ?
Reply
#3

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.
Reply
#4

Okay, someone know how the include called ?
Reply
#5

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)