20.04.2011, 20:15
hello i got server restart command:
but insted of clearing the chat and getting restart gametext, the camera is positioned looking at LS, and it says: Server is restarting.
why is my gamtext not workign and chat not clearing etc?
pawn Код:
if (strcmp("/restart", cmdtext, true, 8 ) == 0)
{
if(IsPlayerAdmin(playerid))
{
GameTextForAll("~g~RESTART ~r~SERVERA ",10000,5);
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
// SendRconCommand("reloadfs filtersctipt");
SendRconCommand("gmx");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
SendClientMessageToAll(0xFFFF00AA, " ");
}
return 1;
}
why is my gamtext not workign and chat not clearing etc?