Help About OnDialogResponse !!! Help
#3

Use cases its much simpler.
Example :
pawn Код:
if(dialogid == 4 && response)
    {
        switch(listitem)
        {
            case 0: //
            {
                'create vehicle' /// your CreateVehicle function
            }
            case 1:
            {
                   'create vehicle' /// your CreateVehicle function
            }
        }
        return 1;
    }
You can choose to add it or not.
pawn Код:
else if(dialogid == 4 && response == 0) return SendClientMessage(playerid, COLOR_RED, "Cancelled.");
Reply


Messages In This Thread
Help About OnDialogResponse !!! Help - by xganyx - 20.06.2013, 07:31
Re: Help About OnDialogResponse !!! Help - by Scrillex - 20.06.2013, 07:41
Re: Help About OnDialogResponse !!! Help - by AdamCooper - 20.06.2013, 07:46
Re: Help About OnDialogResponse !!! Help - by xganyx - 20.06.2013, 07:54
Re: Help About OnDialogResponse !!! Help - by IceBilizard - 20.06.2013, 07:58
Re: Help About OnDialogResponse !!! Help - by Scrillex - 20.06.2013, 08:19
Re: Help About OnDialogResponse !!! Help - by SwisherSweet - 20.06.2013, 08:23
Re: Help About OnDialogResponse !!! Help - by Scrillex - 20.06.2013, 08:28
Re: Help About OnDialogResponse !!! Help - by xganyx - 20.06.2013, 10:34
Re: Help About OnDialogResponse !!! Help - by Josh_Main - 20.06.2013, 14:21

Forum Jump:


Users browsing this thread: 4 Guest(s)