20.05.2012, 18:59
pawn Код:
CMD:daradmin(playerid,params[])
{
new admnivel, n[24];
if(sscanf(params, "ud",id,admnivel))
return SendClientMessage(playerid, -1, "USE: /daradmin [ID/ParteDoNick] [Level]");
PlayerInfo[id][Admin] = admnivel;
GetPlayerName(id, n, 24);
format(string, sizeof string, "Vocк deu para o %s adm level %d",n ,admnivel);
SendClientMessage(playerid, -1, string);
GetPlayerName(playerid, n, 24);
format(string, sizeof string, "Voce ganho o level adm %d pelo adm %s",admnivel, n);
SendClientMessage(id, -1, string);
return 1;
}