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 :/