Dialog won't response..
#9

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
Does this work?
pawn Код:
{
CMD:weaponshop(playerid, params[])
{
    //Use this one.
    ShowPlayerDialog(playerid, DIALOG_WEAPONSHOP , DIALOG_STYLE_MSGBOX, "{FF5C5C}Weapon shop", "{FFFFFF}Are you sure that you wish to leave your current position and visit the weapon shop?\n{FF0000}[NOTE]{FFFFFF} - You will return to your past position when you'll exit", "Leave", "Close");
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_WEAPONSHOP )
    {
        if(!response) return SendClientMessage(playerid, COLOR_WHITE, "You've decided not to leave to the weapon shop! Have fun.");
        if(response)
        {
            SetPlayerPos(playerid, 2390.3250,1158.0721,744.2016);
        }
    }

    return 0;
}
That did work! Thanks.
Reply


Messages In This Thread
Dialog won't response.. - by CesarLT - 21.09.2013, 23:04
Re: Dialog won't response.. - by DanishHaq - 21.09.2013, 23:05
Re: Dialog won't response.. - by EiresJason - 21.09.2013, 23:07
Re: Dialog won't response.. - by Emmet_ - 21.09.2013, 23:10
Re: Dialog won't response.. - by CesarLT - 21.09.2013, 23:12
Re: Dialog won't response.. - by Emmet_ - 21.09.2013, 23:19
Re: Dialog won't response.. - by CesarLT - 21.09.2013, 23:27
Re: Dialog won't response.. - by EiresJason - 21.09.2013, 23:34
Re: Dialog won't response.. - by CesarLT - 21.09.2013, 23:55
Re: Dialog won't response.. - by EiresJason - 22.09.2013, 04:54

Forum Jump:


Users browsing this thread: 1 Guest(s)