27.12.2011, 18:35
new string[30];
for(new i = 30; i >= 0; i--){
format(string, sizeof(string), "CP countdown: %i", i);
gMyText1 = TextDrawCreate(280, 340, string);
}
In game it just shows "CP countdown: 1" then it freezes there.. when I leave the cp and reenter it, it doesnt even show anything..
{
if(checkpointid = Checkpoint[1]){
if(gTeam[playerid] == TEAM_GANG){
SetTimer("Timer", 1, true);
}
}
return 1;
}
NOTE: Checkpoint[1] is that checkpoint id that I'm using atm
for(new i = 30; i >= 0; i--){
format(string, sizeof(string), "CP countdown: %i", i);
gMyText1 = TextDrawCreate(280, 340, string);
}
In game it just shows "CP countdown: 1" then it freezes there.. when I leave the cp and reenter it, it doesnt even show anything..
{
if(checkpointid = Checkpoint[1]){
if(gTeam[playerid] == TEAM_GANG){
SetTimer("Timer", 1, true);
}
}
return 1;
}
NOTE: Checkpoint[1] is that checkpoint id that I'm using atm