new dialog styles with formatting
#3

Код:
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");
Reply


Messages In This Thread
new dialog styles with formatting - by BeckzyBoi - 30.03.2015, 11:25
Re: new dialog styles with formatting - by Kar - 30.03.2015, 11:41
Re: new dialog styles with formatting - by rootcause - 30.03.2015, 11:43
Re: new dialog styles with formatting - by BeckzyBoi - 30.03.2015, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)