06.06.2013, 12:14
pawn Код:
CMD:gmx(playerid, params[])
{
new string[128];
if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_RED, "ERROR: You are not authorized to use this command!");
format(string, sizeof(string), "AdmCmd: %s has announced a GMX, Server will restart in a few seconds.", RPName(playerid));
SendClientMessageToAll(COLOR_TOMATO, string);
SaveFactions();
SaveAccounts();
SaveAccountStats();
SetTimer("GMX", 20000, false);
return 1;
}