TABLIST_HEADERS and TABLIST dialogs
#5

Quote:
Originally Posted by aCloudy
Посмотреть сообщение
If i want to show the dialog after entering an ammu-nation buying checkpoint, Can it be like this?
Yes.

Quote:
Originally Posted by dionisak0s
Посмотреть сообщение
Yes, that's how I made it on my script but I still can't make it to work the same way but with HEADERS :/
You just add the headers at the beginning and change the type:
PHP код:
new listitems[(sizeof (weapinfo) * 16) + 25] = "Weapon Name\tWeapon ID\n";
for (new 
i!= sizeof (weapinfo); ++i)
{
    
format(listitemssizeof (listitems), "%s%s\t%i\n"listitemsweapinfo[i][weapname], weapinfo[i][weapid]);
}
ShowPlayerDialog(playerid,2,DIALOG_STYLE_TABLIST_HEADERS,"Weapon",listitems,"Select","Cancel"); 
Reply


Messages In This Thread
TABLIST_HEADERS and TABLIST dialogs - by aCloudy - 11.04.2015, 13:15
Re: TABLIST_HEADERS and TABLIST dialogs - by Konstantinos - 11.04.2015, 13:26
Re: TABLIST_HEADERS and TABLIST dialogs - by aCloudy - 11.04.2015, 13:33
Re: TABLIST_HEADERS and TABLIST dialogs - by dionisak0s - 11.04.2015, 13:39
Re: TABLIST_HEADERS and TABLIST dialogs - by Konstantinos - 11.04.2015, 13:53

Forum Jump:


Users browsing this thread: 1 Guest(s)