C:\Users\Christopher\Desktop\Server\gamemodes\nRP.pwn(51744) : error 091: ambiguous constant; tag override is required (symbol "ID")
C:\Users\Christopher\Desktop\Server\gamemodes\nRP.pwn(51744) : warning 215: expression has no effect
C:\Users\Christopher\Desktop\Server\gamemodes\nRP.pwn(51744) : error 001: expected token: ";", but found "]"
C:\Users\Christopher\Desktop\Server\gamemodes\nRP.pwn(51744) : error 029: invalid expression, assumed zero
C:\Users\Christopher\Desktop\Server\gamemodes\nRP.pwn(51744) : fatal error 107: too many error messages on one line
Diese Zeile "51744" ist folgender Code.
ShowTicketDialog(playerid)
{
new i=0, count=0, path[68], msg[1028] = "", cat[128], bool:exists;
new reason[256], date[256], subject[256], read[256], string[82];
{
i++;
format(path, 68, "/%s/%i.ini", dini_path, i);
if(dini_Exists(path))
{
Diese Zeile !!!! ID[count] = i;
count++;
exists = true;
reason = dini_Get(path, "reason");
date = dini_Get(path, "time");
subject = dini_Get(path, "subject");
read = dini_Get(path, "read");
if(strval(read)) format(cat, 68, "{ED9E15}%s {FFFFFF}%s: %s\n", date, subject, reason);
else format(cat, 68,"{ED9E15}%s {ED1515}%s: %s\n", date, subject, reason);
strcat(msg, cat);
}
}
while(i<50);
if(!exists) return ShowPlayerDialog(playerid, 107, DIALOG_STYLE_MSGBOX, "Support", "Es sind aktuell keine Support Anfragen eingetragen.", "Okay", "Nicht okay");
ShowPlayerDialog(playerid, 104, DIALOG_STYLE_LIST, "Support", msg, "Auswählen", "Abbrechen");
return 1;
}
Ich raff das nicht, da ist doch alles Richtig. Oder könnt ihr mich das gegenteil belehren ???