Hey.. ich hab da einen Warning den ich nicht weg bekomme
forward CoutDown(playerid);
public CountDown(playerid) // <- hier
{
if(cd_sec == 0)
{
for(new i; i < MAX_PLAYERS; i++)
{
if(Frozen[i] == 0)
{
TogglePlayerControllable(i, 1);
}
}
PlayerPlaySound(playerid, 1058, 0, 0, 0);
GameTextForAll("~r~Go!",1000,3);
CdStated = 0;
KillTimer(cd_timer);
}
else
{
new string[256];
PlayerPlaySound(playerid, 1057, 0, 0, 0);
format(string,256,"~g~%d",cd_sec);
GameTextForAll(string,1000,3);
}
cd_sec = cd_sec-1;
return 1;
}