CMD:admins(playerid)
{
SendClientMessage(playerid, COLOR_LIME, \"_________[Jelenlévõ Adminok]____________\");
for(new i; i < MAX_PLAYERS; i++)
{
if(GetPVarInt(i, \"AdminLvl\") > 0)
{
new szFormat[128];
format(szFormat, 128, \"%s - Szint: %i - Rang: %s\", pName(i), GetPVarInt(i, \"AdminLvl\"), alvl[GetPVarInt(i, \"AdminLvl\")]);
SendClientMessage(playerid, -1, szFormat);
}
}
return 1;
}
stock pName(playerid)
{
new n[24];
GetPlayerName(playerid, n, 24);
return n;
}
Tessek ,remélem ,hogy jó lesz .