DIALOG doesnt work !
#2

Hi

Try this

pawn Код:
CMD:boston(playerid)
{
    if(PlayerInfo[playerid][pFMember] == 1)
    {
        if(IsPlayerInRangeOfPoint(playerid, 0, 1025.156494, -315.600585, 73.988876))
        {
            ShowPlayerDialog(playerid, DIALOG_BOSTONS, DIALOG_STYLE_LIST, "El Bostons Lockers", "Duty\nClothes", "Select", "Cancel");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You aren't in range of your El Bostons lockers.");
        }
    }
    return 1;
}

// OnDialogResponse

if(dialogid == DIALOG_BOSTONS)
{
    if(response)
    {
        if(listitem == 0)
        {
            GivePlayerValidWeapon(playerid, 24, 60000);
            GivePlayerValidWeapon(playerid, 29, 60000);
            GivePlayerValidWeapon(playerid, 31, 60000);
            GivePlayerValidWeapon(playerid, 30, 60000);
            GivePlayerValidWeapon(playerid, 25, 60000);
            GivePlayerValidWeapon(playerid, 33, 60000);
            SetPlayerHealth(playerid, 100.0);
            SetPlayerArmour(playerid, 100.0);
        }
        if(listitem == 1)
        {
            ShowPlayerDialog( playerid, 3495, DIALOG_STYLE_INPUT, "Skin Selection","Please enter a Skin ID!\n\nNote: Skin Changes cost $2500.", "Buy", "Cancel" );
        }    
    }
    return 1;
}
Reply


Messages In This Thread
DIALOG doesnt work ! - by yaron0600 - 11.06.2013, 12:49
Re: DIALOG doesnt work ! - by PT - 11.06.2013, 13:26
Re: DIALOG doesnt work ! - by yaron0600 - 11.06.2013, 15:01
Re: DIALOG doesnt work ! - by Giannidw - 11.06.2013, 19:06
Re: DIALOG doesnt work ! - by RALL0 - 11.06.2013, 19:27
Re: DIALOG doesnt work ! - by yaron0600 - 11.06.2013, 20:17
Re: DIALOG doesnt work ! - by RALL0 - 11.06.2013, 20:20
Re: DIALOG doesnt work ! - by BossZk - 12.06.2013, 00:16

Forum Jump:


Users browsing this thread: 1 Guest(s)