Posts: 315
Threads: 95
Joined: Dec 2014
Reputation:
0
How to calculate if player not typed 2hour some command,server kick him?
Posts: 1,098
Threads: 14
Joined: Feb 2013
Reputation:
0
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.