how to calculate
#1

How to calculate if player not typed 2hour some command,server kick him?
Reply
#2

Store the second he connects using "gettime()", then check on a timer if "gettime() - The store > 60*60*2" 60*60*2 = 2 hours, also don't forget to equal it to zero every time the players puts a command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)