28.11.2010, 02:39
well OnPlayerUpdate is called ~40 times a second, if the player is alt+tabbed then it doesn't get called so if you had code under OnPlayerUpdate to set a variable to 30, and have a timer to decrease it every second, by the time it equals 0 30 seconds would have past.