09.06.2013, 16:33
Use this :-
pawn Код:
#define DIALOG_BOSTONS 1
CMD:boston(playerid, params[])
{
if(PlayerInfo[playerid][pFMember] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 4.0, -517.86, 306.36, 909.53) && GetPlayerVirtualWorld(playerid) == 6065 && GetPlayerInterior(playerid) == 1) return SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your El Bostons lockers.");
{
ShowPlayerDialog(playerid, DIALOG_BOSTONS, DIALOG_STYLE_LIST, "El Bostons Lockers", "Deagle\nMP5\nM4-500Bullets\nAK-47-500Bullets\nShotgun\nRifle\nVest", "Select", "Cancel");
}
}
return 1;
}