17.09.2013, 17:50
Make a greater newstring size.
Edit: Lol
pawn Код:
new string[64], newstring[512];
for(new i = 0; i != sizeof(HatObjects); ++i)
{
format(string, sizeof(string),"%s\n", HatObjects[i]);
strcat(newstring, string);
}
ShowPlayerDialog(playerid, OBJECT_HATS, DIALOG_STYLE_LIST, "{FFFFFF}Accessory System || {33CCFF}Hats", newstring, "Purchase", "Back");