11.07.2014, 20:54
pawn Код:
CMD:a(playerid, params[])
{
if(PlayerInfo[playerid][pAdminLevel]< 1) return SCM(playerid, Red, "You're not authorized to use this command");
new
text[128];
if(sscanf(params, "s[128]",text)) return SCM(playerid, -1, "USAGE: /a [Text]");
format(text,sizeof(text),"Admin %s| Message: %s",GN(playerid),params[0]);
foreach(Player, i) {
if(pInfo[i][Adminlevel] > 0){
SCM(i,Purple,text);}}
return 1;
}