[Tool/Web/Other] GTA SAMP - Dialog Creator v1.0
#5

You should update it to include y_inline/y_dialog output style.

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");
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.
Reply


Messages In This Thread
GTA SAMP - Dialog Creator v1.0 - by Reydifox - 07.11.2013, 15:07
Re: GTA SAMP - Dialog Creator v1.0 - by Champ - 07.11.2013, 15:11
Re: GTA SAMP - Dialog Creator v1.0 - by streetpeace - 07.11.2013, 15:12
Re: GTA SAMP - Dialog Creator v1.0 - by FailerZ - 07.11.2013, 15:26
Re: GTA SAMP - Dialog Creator v1.0 - by Pottus - 07.11.2013, 15:28
Re: GTA SAMP - Dialog Creator v1.0 - by ThePunisherZ - 10.12.2013, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)