SA-MP Forums Archive
[HELP]Dialog Errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Dialog Errors (/showthread.php?tid=310583)



[HELP]Dialog Errors - mhamadsaleh - 12.01.2012

REMOVE PLEASE THE PROBLEM IS SLOVED


Re: [HELP]Dialog Errors - Twinki1993 - 12.01.2012

Hmmm
https://sampwiki.blast.hk/wiki/OnDialogResponse
Read that.

This is how you beggin with that
Код HTML:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid) // Lookup the dialogid
    {
        case 1:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF0000FF, "You cancelled.");
                return 1; // We processed it
            }
 
            switch(listitem)



Re: [HELP]Dialog Errors - mhamadsaleh - 12.01.2012

Thank you i sloved the problem the only thing i needed is to add a bracket at the end xD


Re: [HELP]Dialog Errors - Twinki1993 - 12.01.2012

Hehe no problem.