Help with OnDialogResponse
#7

Quote:
Originally Posted by PT
Посмотреть сообщение
Try this

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
//------------------Weapons Dialog-----------------------
    if(response)
    {
        switch(1)
        {
            case 1:
            {
                switch(listitem)
                {
                    case 0: GivePlayerWeapon(playerid, 24, 90);
                    case 1: GivePlayerWeapon(playerid, 30, 250);
                }
            }
        }
        switch(2) // Teles Dialog
        {
            case 1:
            {
                switch(listitem)
                {
                    case 0:
                    {
                        SetPlayerPos(playerid, 1334.5587,1304.8950,10.5095);
                        SetPlayerInterior(playerid, 0);
                    }
                }
            }
        }
    }
    return 1;
}
That didn't work

keep it the way I had it, just tell me how to fix it
Reply


Messages In This Thread
Help with OnDialogResponse - by Zach7 - 07.08.2013, 02:59
Re: Help with OnDialogResponse - by Edix - 07.08.2013, 03:04
Re: Help with OnDialogResponse - by Naruto_Emilio - 07.08.2013, 03:10
Re: Help with OnDialogResponse - by Zach7 - 07.08.2013, 03:10
Re: Help with OnDialogResponse - by Zach7 - 07.08.2013, 03:12
Re: Help with OnDialogResponse - by PT - 07.08.2013, 03:19
Re: Help with OnDialogResponse - by Zach7 - 07.08.2013, 03:38

Forum Jump:


Users browsing this thread: 2 Guest(s)