Hallöle
Ich habe diese Script eben von einem Benutzer bekommen nur jetzt habe ich das Problem das mit keine Member angezeigt werden / Admins angezeigt werden.
ocmd:members(playerid,params[])
{
new str[512],buffer[64],p_name[MAX_PLAYER_NAME];
for(new i = 5; i<MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i))continue;
if(GetPVarInt(playerid,"Adminlevel") <= 0)continue;
GetPlayerName(i,p_name,MAX_PLAYER_NAME);
format(buffer,sizeof(buffer),"%s:: %s%c",Adminname[GetPVarInt(i,"Adminlevel")],p_name,(i == MAX_PLAYERS) ? '\0' : '\n'),strins(str,buffer,strlen(str),sizeof(str));
}
if(strlen(str))return ShowPlayerDialog(playerid,dAdmins,DIALOG_STYLE_MSGBOX,"{FFCC00}---> Army Member Online <---",str,"Okay","");
else return ShowPlayerDialog(playerid,dAdmins,DIALOG_STYLE_MSGBOX,"--> Army Member Offline <--","Keiner Da!","Okay","");
}