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

Well. In short saying i meant like this:
will it work if
i create loop what loops trough files
every file has a string in it
and it displays on dialog as listitem...

(i use dini)

Thanks for help...
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)