Posts: 44
Threads: 14
Joined: Jul 2011
Reputation:
0
I saw some server that If you going Alt Tab/ esc. It says: "AFK, %d Seconds"
Someone know how to make it ? :O
Posts: 96
Threads: 25
Joined: Aug 2009
Reputation:
0
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.
Posts: 44
Threads: 14
Joined: Jul 2011
Reputation:
0
Okay, someone know how the include called ?