error 014: invalid statement; not in switch
#7

Are the dialog ID's correctly corresponding with the switch's? Try this instead, maybe your dialog ID's don't work perfectly:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == dialogidhere)
    {
        if(response)
        {
            // code
            return 1;
        }
    }
    if(dialogid == dialogidhere2)
    {
        if(response)
        {
            // code
            return 1;
        }
    } // and so on...
    return 1;
}
Reply


Messages In This Thread
error 014: invalid statement; not in switch - by DamonD - 14.10.2013, 21:03
Re: error 014: invalid statement; not in switch - by DanishHaq - 14.10.2013, 21:08
Re: error 014: invalid statement; not in switch - by DamonD - 14.10.2013, 21:10
Re: error 014: invalid statement; not in switch - by InglewoodRoleplay - 14.10.2013, 21:10
Re: error 014: invalid statement; not in switch - by DamonD - 14.10.2013, 21:31
Re: error 014: invalid statement; not in switch - by arakuta - 14.10.2013, 22:01
Re: error 014: invalid statement; not in switch - by DanishHaq - 14.10.2013, 22:01

Forum Jump:


Users browsing this thread: 1 Guest(s)