Quote:
Originally Posted by Astram
But, I can't seem to get it down to 0...
|
Please read nearly every post in this thread. It's been said countless times that timevar2 is an auto-incrementing variable based on the amount of seconds since a specific time period.
If you just want a countdown do something like this:
PHP Code:
//#CLIENTSIDE
function onCreated() {
this.ticks = 100;
onTimeout();
}
function onCreated() {
this.ticks--;
player.chat = this.ticks;
setTimer(1);
}