30.03.2015, 11:43
Код:
new list[144]; format(list, sizeof(list), "Weapon Name\tWeapon ID\n"); for(new i; i < sizeof(weapinfo); ++i) { format(list, sizeof(list), "%s%s\t%d\n", list, weapinfo[i][weapname], weapinfo[i][weapid]); } ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_TABLIST_HEADERS, "Weapons", list, "Select", "Cancel");