How do i add multiple listitems on dialogs while reading from file
#2

pawn Код:
new dialogstring[cells], string[cells];
//in your loop for read files:
format(string, cells, "%s\n", dini_Get(bla bla...
strcat(dialogstring, string);

//after read all files
ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LISTM, "whatever", dialogstring, ...
Reply


Messages In This Thread
How do i add multiple listitems on dialogs while reading from file - by [WSF]ThA_Devil - 20.11.2011, 17:32
Re: How do i add multiple listitems on dialogs while reading from file - by Pharrel - 20.11.2011, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)