Quote:
Originally Posted by Gustavob
pawn Код:
dcmd_admins(playerid,params[]) { #pragma unused params new count = 0; new string[128]; new Name[24]; for(new i = 0; i < MAX_PLAYERS; i++) { if (IsPlayerConnected(i)) { GetPlayerName(i, Name, 24); format(string, 128, "%s (Id:%i) | Level: %d", Name, i, PlayerInfo[i][Level]); SendClientMessage(playerid, COR, string); count++; } } if (count == 0) SendClientMessage(playerid,red,"Nenhum admin online"); SendClientMessage(playerid, green, " _______________________________________"); return 1; }
tenta assim... se precisar, muda alguma coisa aqui ou ali
Crйditos: LuxAdmin
|
Brigadгo ai vei, funfo de boa.