TABLIST_HEADERS and TABLIST dialogs
#4

Quote:
Originally Posted by aCloudy
Посмотреть сообщение
Thank you.

If i want to show the dialog after entering an ammu-nation buying checkpoint, Can it be like this?:

pawn Код:
if(checkpointid == ammu....)
{
   TabListDialogTest(playerid)
   {
        new listitems[(sizeof (weapinfo) * 16) + 1];
        for (new i; i != sizeof (weapinfo); ++i)
        {    
             format(listitems, sizeof (listitems), "%s%s\t$%i\n", listitems, weapinfo[i][weapname], weapinfo[i][weapid]);
        }
       ShowPlayerDialog(playerid,2,DIALOG_STYLE_TABLIST,"Buy Weapon",listitems,"Select","Cancel");
   }
}
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 :/
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: 2 Guest(s)