13.12.2014, 22:52
You need to save a variable for the jail time, use SetTimerEx to count down the jail time for the player, if they quit, kill the timer, and when they rejoin, OnPlayerSpawn if their jailtime is greater than 0, put them back in jail and start the timer again.