Alles anzeigenAchso: Und ich suche einen Countdown also:
5...
4...
3...
2...
1...
GO GO GO!
Da habe ich nicht gefunden
-Danny
Ausnahmsweise
forward CountDown4();
forward CountDown3();
forward CountDown2();
forward CountDown1();
forward CountDownLos();
ocmd:countdown(playerid,params[])
{
if (SpielerInfo[playerid][Adminlevel] >= 1447)
{
SetTimer("CountDown4",1000,0);
}
else SendClientMessage(playerid, COLOR_RED, "Du bist kein Admin!");
return 1;
}
public CountDown4()
{
GameTextForAll("4",1000,3);
SetTimer("CountDown3",1000,0);
return 1;
}
public CountDown3()
{
GameTextForAll("3",1000,3);
SetTimer("CountDown2",1000,0);
return 1;
}
public CountDown2()
{
GameTextForAll("2",1000,3);
SetTimer("CountDown1",1000,0);
return 1;
}
public CountDown1()
{
GameTextForAll("1",1000,3);
SetTimer("CountDownLos",1000,0);
return 1;
}
public CountDownLos()
{
GameTextForAll("~g~] ! LOS LOS LOS ! ]",1000,3);
return 1;
}