16.10.2011, 14:58
Use set timer.
Like:
New val;
SetTimer("decreaseval", 1000, true);
This will repeat every 1000 ms = 1 second.
forward decreaseval();
public decreaseval()
{
val--;
return 1;
}
Like:
New val;
SetTimer("decreaseval", 1000, true);
This will repeat every 1000 ms = 1 second.
forward decreaseval();
public decreaseval()
{
val--;
return 1;
}