27.12.2011, 20:09
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.
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.