jail timer
#2

Under the /jail command you'll need to set a variable for the player to store the unix timestamp they got jailed on. Then, whenever they use the /time command, compare it by subtracting the unix time to that of the current one. Then you can use the function to convert the returned value to a hour:minuteecond format. All this information can be found in this topic: https://sampforum.blast.hk/showthread.php?tid=254915
Reply


Messages In This Thread
jail timer - by tanush - 07.08.2011, 03:14
Re: jail timer - by Grim_ - 07.08.2011, 03:17
Re: jail timer - by tanush - 07.08.2011, 03:18

Forum Jump:


Users browsing this thread: 2 Guest(s)