pawn Код:
CMD:daradmin(playerid, params[])
{
new Str[175];
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"{8C8C8C}(ERROR) {FF1E00}Vocк Nгo й Admin");
if(sscanf(params,"ii",Id,Level)) return SendClientMessage(playerid,-1,"{969696}(AVISO) {FF1E00}Use: daradmin [ID] [Level]");
if(!IsPlayerConnected(Id)) return SendClientMessage(playerid,-1,"{8C8C8C}(ERROR) {FF1E00}Player Nгo Conectado");
PlayerInfo[Id][Admin] = Level;
format(Str,175, "{969696}(AVISO) {00C3FF}O Adiministrador {FF9600}%s {00C3FF}Deu Admin de Level {FF9600}%d {00C3FF}Para o Player {FF9600}%s",Nome(playerid),Level,Nome(Id));
SendClientMessageToAll(-1, Str);
SalvarContas(Id);
return 1;
}