17.04.2015, 17:42
PHP код:
foreach (new i : Player)
{
if(IsPlayerConnected(i) && PlayerInfo[i][pAdmin] > 0)
{
format(str, sizeof(str), "{FFFFFF}%s -> %s\n", GetName(i), Admin);
strcat(string, str);
ShowPlayerDialog(playerid, DIALOG_ADMINS, DIALOG_STYLE_MSGBOX, "Online Administrбtori", string, "Ok", "");
}
if(!IsPlayerConnected(i) && PlayerInfo[i][pAdmin] > 0)
{
SendClientMessage(playerid,-1,"no admins");
}
}