Hey, ich bin gerade etwas doof und finde den Fehler nit
showmedicdia(playerid)
{
new string[1000], name[MAX_PLAYER_NAME];
new Float:pHealth;
for(new i; i < MAX_PLAYERS; i++)if(GetPVarInt(i,"MedicHelp") == 1)
{
pHealth = GetPlayerHealth(i);// Hier
GetPlayerName(i,name,sizeof(name));
format(string,sizeof(string),"%s\n%s (ID %d): %d HP",string,name,i,pHealth);
}
ShowPlayerDialog(playerid,diaMedic,DIALOG_STYLE_LIST,"Eingegangene Notrufe",string,"OK","Abbrechen");
}
edit: Warn:
(13916) : warning 202: number of arguments does not match definition
Wo ist der Fehler=?
MfG