25.01.2013, 20:05
no, but if it's a local function, can I get the text in other functions? Outside the ondialogresponse?
I tried this:
But still not good. Now complied, but isnt working in the game...
I'll try your idea.
I tried this:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_x) { if(response == 1) { inputtext[20]=x; } else { SendClientMessage(playerid, 0xEB000FFF, ":("); } return 1; } return 1; }
I'll try your idea.