24.06.2012, 14:10
Hmm, well it shouldn't be. I'm using a loop to form a dialog string.
pawn Код:
new string2[4000+1];
for(new x;x<sizeof(AttachmentObjects);x++)
{
format(string2, sizeof(string2), "%s%s - $%d\n", string2, AttachmentObjects[x][attachname], AttachmentObjects[x][attachprice]);
}
ShowPlayerDialog(playerid,71, DIALOG_STYLE_LIST, \
"{FF0000}Select an item to purchase.", string2, "Buy", "Cancel");