Quote:
Originally Posted by Astram
Explain more
|
timevar2 on the serverside is basically a UNIX time stamp with millisecond precision, but with the milliseconds moved to the decimals. You could do something similar to this:
PHP Code:
player.clientr.jailReleaseTime = timevar2 + 3600; // release in an hour
And then just check periodically and whenever the player logs on:
PHP Code:
if (timevar2 >= player.clientr.jailReleaseTime)
// release the player from jail/whatever