hallo ich brauche hier bei hilfe
hier kommen immer errors und ich wollte sowas rein scripten wenn der countdown begint soll der server ein passwort rein machen das nach dem restart weg geht wäre nett wenn ihr mir hellfen würdet
: error 029: invalid expression, assumed zero
: error 004: function "Restart1" is not implemented
: warning 225: unreachable code
: error 029: invalid expression, assumed zero
: error 004: function "Restart2" is not implemented
: error 029: invalid expression, assumed zero
: error 004: function "Restart3" is not implemented
forward Restart1();
forward Restart2();
forward Restart3();
if(strcmp(cmd, "/gmxcd", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1339)
{
SCMTA(RED,"[ServerGuard]:Serverneustart in 3 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 3 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 3 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 3 Minuten!");
SetTimer("Restart1",60000,0);
return 1;
public Restart1()
SCMTA(RED,"[ServerGuard]:Serverneustart in 2 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 2 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 2 Minuten!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 2 Minuten!");
SetTimer("Restart2",60000,0);
return 1;
public Restart2()
SCMTA(RED,"[ServerGuard]:Serverneustart in 1 Minute!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 1 Minute!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 1 Minute!");
SCMTA(RED,"[ServerGuard]:Serverneustart in 1 Minute!");
SetTimer("Restart3",60000,0);
public Restart3()
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SCM(playerid, RED, "[ServerGuard]:Server Startet Jetzt Neu!!!!!");
SaveStuff();
GameModeExit();
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Das darfst du nicht tun !");
}
}
return 1;
}