How would I do this?
#1

I want it to be like this;
pawn Код:
format(string, sizeof(string), "Please input the ID of the player", Info[0][sIn]);
ShowPlayerDialog(playerid, DIALOG, DIALOG_STYLE_LIST, " Dialog Text", string, "OK", "");
This is EXAMPLE code, I want the Dialog to display the Name of the player to be displayed in anther dialog, that uses
Info[0][sIn] in a dialog List formation though.
That way, the input text sets it to the name.
pawn Код:
if(dialogid == DIALOG)
{
    if(response)
    {
 
            Info[0][sIn] = strlen(inputtext);
    }
}
Reply
#2

you want to pass Info[0][sIn] to the dialog response?

if so the only way i know is using YSI's y_inline and y_dialogs.
it is super simple to use and will make this sort of thing a snap!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)