Jo,
showmedicdia(playerid)
{
new string[1000], name[MAX_PLAYER_NAME];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPVarInt(i,"MedicHelp") == 1)
{
GetPlayerName(i,name,sizeof(name));
format(string,sizeof(string),"%s\n%s (ID %d): %d HP",string,name,i,GetPlayerHealth(i));//Warn, selber beim String
}
}
ShowPlayerDialog(playerid,diaMedic,DIALOG_STYLE_LIST,"Eingegangene Notrufe",string,"OK","Abbrechen");
}