15.05.2012, 20:46
[color=green][size=12pt][font=trebuchet ms]Gamemod : AGRP
Problem : I have made a timer for race, when race starts this timer starts, and tells you in which time you finished the race. The problem is when race is over i have puted this :
[size=12pt]and the problem is that timer is paused, not stoped, when I start race again timer starts from earlier point (where timer was paused -> where i puted "killtimer".
I put this code on the start off race, can anyone tell me what should i put to make it reset the timer?[/size]
[size=12pt]I want to make it reset, not to stop, and then start from that point? I want that every time timer starts from zero![/size]
Problem : I have made a timer for race, when race starts this timer starts, and tells you in which time you finished the race. The problem is when race is over i have puted this :
Код:
KillTimer(racevrijeme);
I put this code on the start off race, can anyone tell me what should i put to make it reset the timer?[/size]
Код:
racevrijeme = SetTimer("GameTicks", 500, 1);