04.04.2014, 23:52
Try this, but I'm not sure it will help
Код:
new string2[200]; for(new i = 0;i != MAX_AUTOHAUS;i++) { if(IsPlayerInRangeOfPoint(playerid, 3, AutoHaus[i][aX], AutoHaus[i][aY], AutoHaus[i][aZ])) { for(new n = 0;n < sizeof(AutoHausAuto);n++) { if (n == 1) { format(string2, 200, "%s", CarName[AutoHausAuto[n][aAutoID] - 400]); } else { format(string2, 200, "%s\n%s", string2, CarName[AutoHausAuto[n][aAutoID] - 400]); } } } } ShowPlayerDialog(playerid, DIALOG_AUTOHAUS, DIALOG_STYLE_LIST, "Autohaus", string2, "Weiter", "");