Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- File: fn_clothing_cop.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Master config file for Cop clothing store.
- */
- private["_filter","_ret"];
- _filter = [_this,0,0,[0]] call BIS_fnc_param;
- //Classname, Custom Display name (use nil for Cfg->DisplayName, price
- //Shop Title Name
- ctrlSetText[3103,"Altis Police Department Shop"];
- _ret = [];
- switch (_filter) do
- {
- //Uniforms
- case 0:
- {
- _ret set[count _ret,["U_Rangemaster","Cop Uniform",25]];
- _ret set[count _ret,["U_B_Wetsuit",nil,25]];
- if(license_cop_swat) then
- {
- _ret set[count _ret,["U_B_GhillieSuit",nil,550]];
- _ret set[count _ret,["U_I_CombatUniform","Tactical Uniform",550]]; // Changed from cop level 3 and above to SWAT.
- };
- };
- //Hats
- case 1:
- {
- if(__GETC__(life_gta_coplevel) > 1) then
- {
- _ret set[count _ret,["H_HelmetB_plain_mcamo",nil,75]];
- };
- if(__GETC__(life_gta_coplevel) > 3) then
- {
- _ret set[count _ret,["H_Watchcap_blk",nil,100]];
- };
- if(__GETC__(life_gta_coplevel) > 3) then
- {
- _ret set[count _ret,["H_MilCap_mcamo",nil,100]];
- };
- if(__GETC__(life_gta_coplevel) > 4) then
- {
- _ret set[count _ret,["H_Beret_blk_POLICE",nil,100]];
- };
- if(__GETC__(life_gta_coplevel) > 8) then
- {
- _ret set[count _ret,["H_Beret_Colonel",nil,100]];
- };
- if(__GETC__(life_gta_coplevel) > 11) then
- {
- _ret set[count _ret,["H_Booniehat_mcamo",nil,120]];
- };
- };
- //Glasses
- case 2:
- {
- _ret =
- [
- ["G_Combat",nil,0],
- ["G_Lowprofile",nil,0],
- ["G_Shades_Black",nil,0],
- ["G_Tactical_Clear",nil,0],
- ["G_Spectacles_Tinted",nil,0],
- ["G_Aviator",nil,0],
- ["G_Diving",nil,0]
- ];
- if(license_cop_swat) then
- {
- _ret =
- [
- ["G_Combat",nil,0],
- ["G_Lowprofile",nil,0],
- ["G_Shades_Black",nil,0],
- ["G_Tactical_Clear",nil,0],
- ["G_Spectacles_Tinted",nil,0],
- ["G_Aviator",nil,0],
- ["G_Diving",nil,0],
- ["G_Balaclava_oli",nil,0],
- ["G_Balaclava_lowprofile",nil,0],
- ["G_Balaclava_combat",nil,0],
- ["G_Balaclava_blk",nil,0],
- ["G_Bandanna_aviator",nil,0],
- ["G_Bandanna_beast",nil,0],
- ["G_Bandanna_blk",nil,0],
- ["G_Bandanna_khk",nil,0],
- ["G_Bandanna_oli",nil,0],
- ["G_Bandanna_shades",nil,0],
- ["G_Bandanna_sport",nil,0],
- ["G_Bandanna_tan",nil,0]
- ];
- };
- };
- //Vest
- case 3:
- {
- _ret set[count _ret,["V_Rangemaster_belt",nil,800]];
- if(__GETC__(life_gta_coplevel) > 1) then
- {
- _ret set[count _ret,["V_PlateCarrier1_blk",nil,1500]];
- _ret set[count _ret,["V_RebreatherB",nil,1500]];
- };
- if(__GETC__(life_gta_coplevel) > 3) then
- {
- _ret set[count _ret,["V_TacVest_blk_POLICE",nil,1500]];
- };
- if(license_cop_swat) then
- {
- _ret set[count _ret,["V_PlateCarrier2_rgr",nil,1500]];
- _ret set[count _ret,["V_TacVest_blk",nil,1500]];
- };
- };
- //Backpacks
- case 4:
- {
- _ret =
- [
- ["B_Carryall_cbr",nil,3500]
- ];
- if(__GETC__(life_gta_coplevel) > 7) then
- {
- _ret =
- [
- ["B_Carryall_cbr",nil,3500],
- ["B_UAV_01_backpack_F",nil,3500]
- ];
- };
- };
- };
- _ret;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement