FS OnDialogResponse
#3

this one calls
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_CARRADIO)
    {
        new veh = GetPlayerVehicleID(playerid);
        if(response)
        {
                      // do stuff
        }
    }
}
this one wont call
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG6)
    {
        if(response == 1)
        {
                      //do stuff
        }
        else
        {
            return 1;
        }
    }
    return 0;
}
i tried putting return 0; on the first but no difference
Reply


Messages In This Thread
FS OnDialogResponse - by NumbSkull - 12.11.2012, 17:11
Re: FS OnDialogResponse - by guitarmandanny - 12.11.2012, 17:19
Re: FS OnDialogResponse - by NumbSkull - 12.11.2012, 17:27
Re: FS OnDialogResponse - by Babul - 12.11.2012, 17:30
Re: FS OnDialogResponse - by guitarmandanny - 12.11.2012, 17:31
Re: FS OnDialogResponse - by NumbSkull - 12.11.2012, 17:43
Re: FS OnDialogResponse - by guitarmandanny - 12.11.2012, 17:49
Re: FS OnDialogResponse - by NumbSkull - 12.11.2012, 17:53
Re: FS OnDialogResponse - by guitarmandanny - 12.11.2012, 17:56

Forum Jump:


Users browsing this thread: 2 Guest(s)