how to
#1

Im trying to make a simple afk script, because im just getting started with scripting.
But i have a question.
How can i make a cmd that shows you how long somebody is afk?
Reply
#2

Well, when you make a /afk command. Start a timer.
When you want to look how somebody is afk, just show the timer.
Reply
#3

and how can i combine those timer with a person and the /back cmd?
Then when a person types /back the timer stopt and shows a message how long hes been afk?
Reply
#4

Well, give the timer a variable.
Attach a variable to the timer, and when the player types /back kill the timer.
Then format the time in a string and SendClientMessage the string
Reply
#5

thnx that will help
Reply
#6

Your welcome
Reply
#7

marc.vdwerf you want to make afk system like RC-RP?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)