23.04.2013, 18:10
i have made a restart command,the problem is the it keeps telling me that im using an un-authorized command when i type the command ingame,i have the pScripter = 2 Rank ingame and it still tells me im un-authorized,please help me
Код:
CMD:gmx(playerid, params[]) { if(PlayerInfo[playerid][pScripter] || PlayerInfo[playerid][pAdmin] > 99999) return SendClientMessageEx(playerid, COLOR_GRAD2, "You are not authorized to use this command."); SetTimer( "Maintenance", 50000, false ); SendClientMessageToAll(COLOR_LIGHTBLUE, "* The Server Will Be Going For Server Maintenance In 50Seconds."); foreach(Player, i) { GameTextForPlayer(i, "~y~Scheduled Maintenance 50Seconds", 5000, 3); } return 1; }