18.10.2014, 20:38
CMD:disarmall(playerid, params[])
{
if(PlayerInfo[playerid][AdminLevel] >= 2)
new name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Administrator %s has disarmed everyone!", name);
SendClientMessageToAll(PLAYERCOLOR_AQUA, string);
else return SendClientMessage(playerid, COLOR_RED, "ERROR: you need to be atleast Admin Level 2 to use this command");
return 1;
}
{
if(PlayerInfo[playerid][AdminLevel] >= 2)
new name[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Administrator %s has disarmed everyone!", name);
SendClientMessageToAll(PLAYERCOLOR_AQUA, string);
else return SendClientMessage(playerid, COLOR_RED, "ERROR: you need to be atleast Admin Level 2 to use this command");
return 1;
}