if(strcmp("/admins",cmdtext,true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(pInfo[i][admin] == 1)
{
new name[MAX_PLAYER_NAME], string[256];
GetPlayerName(i, name, sizeof(name));
format(string,sizeof(string),"%s\n",name);
ShowPlayerDialog(playerid, adminmenu, DIALOG_STYLE_MSGBOX,"Diese Admins sind online:", string, "Ok", "Verlassen");
}}
return 1;
}
Er zeigt immer nur einen Admin an ?
Jemand ne Ahnung?