09.06.2013, 16:30
Код:
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) { ShowPlayerDialog(playerid, DIALOG_BOSTONS, DIALOG_STYLE_LIST, "El Bostons Lockers", "Deagle\nMP5\nM4-500Bullets\nAK-47-500Bullets\nShotgun\nRifle\nVest", "Select", "Cancel"); } else { SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your El Bostons lockers."); } } return 1; }