27.05.2009, 10:08
I didn't use the line you gave but something simple like this?
pawn Код:
#define MAX_NUMBER 200 //change to the max number so number starts recounting from 0
new Number = 0;
SetTimer("IncreaseNumber",1000, true);
public IncreaseNumber()
{
if(Number >= MAX_NUMBER)Number = 0;
else Number++;
}