Return command on dialogresponse?
#1

When someone clicks OK or cancel I want them to return back to the previous dialog.

What I tried:
pawn Код:
Dialog:GeneralCommandsDialog(playerid, response, listitem, inputtext[])
{
    if(response){
    return cmd_commands(playerid, params[])
    }
    return 1;
}
Will not compile as params is undefined even when I add #pragma unused params above the code.

Anyone? I prefer not having tons of code to edit
Reply


Messages In This Thread
Return command on dialogresponse? - by Elite1337 - 14.01.2015, 11:11
Re: Return command on dialogresponse? - by X|Dragon|X - 14.01.2015, 11:35
Re: Return command on dialogresponse? - by Elite1337 - 14.01.2015, 11:40
Re: Return command on dialogresponse? - by Elite1337 - 14.01.2015, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)