zheka62
Умник
PHP:
CMD:admins(playerid,params[])
{
if(Account[playerid][Adminka] >= 1)
{
new s[100];
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(!IsPlayerConnected(i)) continue;
if(Account[i][Adminka] >= 1)
{
new str[128], pname2[MAX_PLAYER_NAME];
GetPlayerName(i, pname2, MAX_PLAYER_NAME);
format(str,sizeof(str),"{92000a}[ID:%d] {116062}%s [Уровень: %i]\n",i,pname2, Account[i][Adminka]);
strcat(s,str);
}
}
return ShowPlayerDialog(playerid, 2963, DIALOG_STYLE_MSGBOX,"{b8860b}Администрация Online:", s, "Ok", "");
}
return 1;
}
