07.11.2013, 15:28
You should update it to include y_inline/y_dialog output style.
You'd have to add the ability to change the following.
Function Name: Response
Function Tag: pid, dialogid, response, listitem, string:text[] give these a tag ex confirm_pid since often times there is inline function inside of an inline function so you need to change the function name and tags.
pawn Code:
inline Response(pid, dialogid, response, listitem, string:text[])
{
#pragma unused listitem, dialogid, pid, text
if(response)
{
}
else
{
}
}
Dialog_ShowCallback(playerid, using inline Response, DIALOG_STYLE_MSGBOX, "Dialog Name", "Dialog Text", "Button 1", "Button 2");
Function Name: Response
Function Tag: pid, dialogid, response, listitem, string:text[] give these a tag ex confirm_pid since often times there is inline function inside of an inline function so you need to change the function name and tags.