10.04.2012, 02:08
I want it to be like this;
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 Код:
format(string, sizeof(string), "Please input the ID of the player", Info[0][sIn]);
ShowPlayerDialog(playerid, DIALOG, DIALOG_STYLE_LIST, " Dialog Text", string, "OK", "");
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);
}
}