Code
enum Account_Daten
{
bool:PasswortVergeben,
bool:CharacterFrei[3],
CharacterName1[MAX_PLAYER_NAME],
CharacterName2[MAX_PLAYER_NAME],
CharacterName3[MAX_PLAYER_NAME]
};
new Info[MAX_PLAYERS][Account_Daten], p_name[MAX_PLAYERS][MAX_PLAYER_NAME];
Alles anzeigen
Code
new string[128];
dini_Get(file, "CharacterName1");
dini_Get(file, "CharacterName2");
dini_Get(file, "CharacterName3");
format(string,sizeof(string),"%s\n%s\n%s",p_name[playerid][CharacterName1],p_name[playerid][CharacterName2],p_name[playerid][CharacterName3]);
ShowPlayerDialog(playerid,DIALOG_LOGIN_2,DIALOG_STYLE_LIST,string,"Login","Abbrechen");
C:\Program Files\Grand Theft Auto San Andreas\gamemodes\ganmore.pwn(292) : warning 213: tag mismatch
C:\Program Files\Grand Theft Auto San Andreas\gamemodes\ganmore.pwn(292) : warning 213: tag mismatch
C:\Program Files\Grand Theft Auto San Andreas\gamemodes\ganmore.pwn(292) : error 032: array index out of bounds (variable "p_name")
C:\Program Files\Grand Theft Auto San Andreas\gamemodes\ganmore.pwn(293) : warning 202: number of arguments does not match definition