17.05.2013, 17:51
I am making a custom faction and I want to make lockers for it , my faction is called LSED and I want it to have same locker items as LSPD. I already have LSPD lockers and all other factions because it came with the script i got, but how would I make a new locker for the new custom faction?
Thats the lockers for lspd
Код:
CMD:lspd(playerid, params[]) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { if (IsPlayerInRangeOfPoint(playerid,3,255.3,77.4,1003.6) || IsPlayerInRangeOfPoint(playerid,3,-1616.1294,681.1594,7.1875) || IsPlayerInRangeOfPoint(playerid,3,327.05, 306.81, 999.14) || IsPlayerInRangeOfPoint(playerid,3,264.29, 109.84, 1004.62)) { ShowPlayerDialog(playerid, DUTYMENU, DIALOG_STYLE_LIST, "LSPD Menu","Duty\nEquipment\nSWAT\nUniform\nUndercover\nClear Suspect", "Select", "Cancel"); } else { SendClientMessageEx(playerid, COLOR_WHITE, "You aren't in range of your LSPD lockers."); } } return 1; }