Hallo ich hab mal ein Countdown gemacht abber er fangt an und dann macht er nichts mehr
Bitte um hilfe
if (strcmp("/countdown", cmdtext, true, 10) == 0)
{
if(gAdmin[playerid] == 3 || gAdmin[playerid] == 4)
{
GameTextForAll("~b~Countdown-Start", 1000, 5);
SetTimer("cd5", 1000, 0);
}
return 1;
}
forward cd5(playerid);
public cd5(playerid)
{
GameTextForAll("~b~5", 1000, 2);
SetTimer("cd4", 1000, 0);
}
forward cd4(playerid);
public cd4(playerid)
{
GameTextForAll("~b~4", 1000, 2);
SetTimer("cd3", 1000, 0);
}
forward cd3(playerid);
public cd3(playerid)
{
GameTextForAll("~b~3", 1000, 2);
SetTimer("cd2", 1000, 0);
}
forward cd2(playerid);
public cd2(playerid)
{
GameTextForAll("~b~2", 1000, 2);
SetTimer("cd1", 1000, 0);
}
forward cd1(playerid);
public cd1(playerid)
{
GameTextForAll("~b~1", 1000, 2);
SetTimer("cdStart", 1000, 0);
}
forward cdStart(playerid);
public cdStart(playerid)
{
GameTextForAll("~b~Start", 1000, 2);
}