14.01.2015, 11:11
When someone clicks OK or cancel I want them to return back to the previous dialog.
What I tried:
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
What I tried:
pawn Код:
Dialog:GeneralCommandsDialog(playerid, response, listitem, inputtext[])
{
if(response){
return cmd_commands(playerid, params[])
}
return 1;
}
Anyone? I prefer not having tons of code to edit