[HELP] checkpoint 'for loop' countdown
#4

I did
public Timer()
{
new string[50];
new i = 30;
for(i; i>=30; i--){
format(string, sizeof(string), "CP countdown: %i", i);
gMyText1 = TextDrawCreate(250,420,string);
TextDrawShowForAll(gMyText1);
}
return 1;
}

Everything else is fine but it says "CP countdown: 30" and doesnt go down. So the fault is in the for loop I think. I've done the forwarding of the function and stuff so thats all cool.
Reply


Messages In This Thread
[HELP] checkpoint 'for loop' countdown - by theinformer - 27.12.2011, 18:35
Re: [HELP] checkpoint 'for loop' countdown - by coole210 - 27.12.2011, 19:12
Re: [HELP] checkpoint 'for loop' countdown - by theinformer - 27.12.2011, 19:54
Re: [HELP] checkpoint 'for loop' countdown - by theinformer - 27.12.2011, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)