TheAce106

Untitled

Aug 22nd, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.48 KB | None | 0 0
  1. #include <macro.h>
  2. /*
  3.     File: fn_clothing_cop.sqf
  4.     Author: Bryan "Tonic" Boardwine
  5.    
  6.     Description:
  7.     Master config file for Cop clothing store.
  8. */
  9. private["_filter","_ret"];
  10. _filter = [_this,0,0,[0]] call BIS_fnc_param;
  11. //Classname, Custom Display name (use nil for Cfg->DisplayName, price
  12.  
  13. //Shop Title Name
  14. ctrlSetText[3103,"Altis Police Department Shop"];
  15.  
  16. _ret = [];
  17. switch (_filter) do
  18. {
  19.     //Uniforms
  20.     case 0:
  21.     {
  22.         _ret set[count _ret,["U_Rangemaster","Cop Uniform",25]];
  23.         if(__GETC__(life_coplevel) > 1) then
  24.         {
  25.             _ret set[count _ret,["U_B_CombatUniform_mcam_tshirt",nil,350]];
  26.             _ret set[count _ret,["U_B_survival_uniform",nil,1250]];
  27.         };
  28.         if(__GETC__(life_coplevel) > 2) then
  29.         {
  30.             _ret set[count _ret,["U_B_CombatUniform_mcam_worn",nil,550]];
  31.             _ret set[count _ret,["U_B_Wetsuit",nil,550]];
  32.             _ret set[count _ret,["U_O_Wetsuit",nil,550]];
  33.             _ret set[count _ret,["U_I_GhillieSuit","Ace's Ghillie",6000]];
  34.             _ret set[count _ret,["U_B_GhillieSuit",nil,6000]];
  35.         };
  36.     };
  37.    
  38.     //Hats
  39.     case 1:
  40.     {
  41.         if(__GETC__(life_coplevel) > 1) then
  42.         {
  43.             _ret set[count _ret,["H_HelmetB_plain_mcamo",nil,75]];
  44.             _ret set[count _ret,["H_Booniehat_mcamo",nil,120]];
  45.             _ret set[count _ret,["H_CrewHelmetHeli_B","GasMask",0]];
  46.         };
  47.        
  48.         if(__GETC__(life_coplevel) > 2) then
  49.         {
  50.             _ret set[count _ret,["H_MilCap_mcamo",nil,100]];
  51.             _ret set[count _ret,["H_Beret_blk_POLICE",nil,100]];
  52.             _ret set[count _ret,["H_Beret_blk",nil,100]];
  53.             _ret set[count _ret,["H_Beret_grn",nil,100]];
  54.             _ret set[count _ret,["H_Cap_blu",nil,100]];
  55.             _ret set[count _ret,["H_Watchcap_blk",nil,100]];
  56.             _ret set[count _ret,["H_Beret_brn_SF",nil,100]];
  57.             _ret set[count _ret,["H_HelmetB_camo",nil,100]];
  58.         };
  59.     };
  60.    
  61.     //Glasses
  62.     case 2:
  63.     {
  64.         _ret =
  65.         [
  66.             ["G_Shades_Black",nil,25],
  67.             ["G_Shades_Blue",nil,20],
  68.             ["G_Sport_Blackred",nil,20],
  69.             ["G_Sport_Checkered",nil,20],
  70.             ["G_Sport_Blackyellow",nil,20],
  71.             ["G_Sport_BlackWhite",nil,20],
  72.             ["G_Aviator",nil,75],
  73.             ["G_Squares",nil,10],
  74.             ["G_Lowprofile",nil,30],
  75.             ["G_Combat",nil,55]
  76.         ];
  77.     };
  78.    
  79.     //Vest
  80.     case 3:
  81.     {
  82.         _ret set[count _ret,["V_Rangemaster_belt",nil,800]];
  83.         if(__GETC__(life_coplevel) > 1) then
  84.         {
  85.             _ret set[count _ret,["V_PlateCarrier2_rgr",nil,1500]];
  86.         };
  87.     };
  88.    
  89.     //Backpacks
  90.     case 4:
  91.     {
  92.         _ret =
  93.         [
  94.             ["B_Kitbag_cbr",nil,800],
  95.             ["B_FieldPack_cbr",nil,500],
  96.             ["B_AssaultPack_cbr",nil,700],
  97.             ["B_Bergen_sgg",nil,2500],
  98.             ["B_Carryall_cbr",nil,3500]
  99.         ];
  100.     };
  101. };
  102.  
  103. _ret;
Advertisement
Add Comment
Please, Sign In to add comment