Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 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. _ret set[count _ret,["U_B_Wetsuit",nil,25]];
  24.  
  25. if(license_cop_swat) then
  26. {
  27. _ret set[count _ret,["U_B_GhillieSuit",nil,550]];
  28. _ret set[count _ret,["U_I_CombatUniform","Tactical Uniform",550]]; // Changed from cop level 3 and above to SWAT.
  29. };
  30. };
  31.  
  32. //Hats
  33. case 1:
  34. {
  35. if(__GETC__(life_gta_coplevel) > 1) then
  36. {
  37. _ret set[count _ret,["H_HelmetB_plain_mcamo",nil,75]];
  38. };
  39.  
  40. if(__GETC__(life_gta_coplevel) > 3) then
  41. {
  42. _ret set[count _ret,["H_Watchcap_blk",nil,100]];
  43. };
  44.  
  45. if(__GETC__(life_gta_coplevel) > 3) then
  46. {
  47. _ret set[count _ret,["H_MilCap_mcamo",nil,100]];
  48. };
  49.  
  50. if(__GETC__(life_gta_coplevel) > 4) then
  51. {
  52. _ret set[count _ret,["H_Beret_blk_POLICE",nil,100]];
  53. };
  54.  
  55. if(__GETC__(life_gta_coplevel) > 8) then
  56. {
  57. _ret set[count _ret,["H_Beret_Colonel",nil,100]];
  58. };
  59.  
  60. if(__GETC__(life_gta_coplevel) > 11) then
  61. {
  62. _ret set[count _ret,["H_Booniehat_mcamo",nil,120]];
  63. };
  64. };
  65.  
  66. //Glasses
  67. case 2:
  68. {
  69. _ret =
  70. [
  71. ["G_Combat",nil,0],
  72. ["G_Lowprofile",nil,0],
  73. ["G_Shades_Black",nil,0],
  74. ["G_Tactical_Clear",nil,0],
  75. ["G_Spectacles_Tinted",nil,0],
  76. ["G_Aviator",nil,0],
  77. ["G_Diving",nil,0]
  78. ];
  79.  
  80. if(license_cop_swat) then
  81. {
  82. _ret =
  83. [
  84. ["G_Combat",nil,0],
  85. ["G_Lowprofile",nil,0],
  86. ["G_Shades_Black",nil,0],
  87. ["G_Tactical_Clear",nil,0],
  88. ["G_Spectacles_Tinted",nil,0],
  89. ["G_Aviator",nil,0],
  90. ["G_Diving",nil,0],
  91. ["G_Balaclava_oli",nil,0],
  92. ["G_Balaclava_lowprofile",nil,0],
  93. ["G_Balaclava_combat",nil,0],
  94. ["G_Balaclava_blk",nil,0],
  95. ["G_Bandanna_aviator",nil,0],
  96. ["G_Bandanna_beast",nil,0],
  97. ["G_Bandanna_blk",nil,0],
  98. ["G_Bandanna_khk",nil,0],
  99. ["G_Bandanna_oli",nil,0],
  100. ["G_Bandanna_shades",nil,0],
  101. ["G_Bandanna_sport",nil,0],
  102. ["G_Bandanna_tan",nil,0]
  103. ];
  104. };
  105. };
  106.  
  107. //Vest
  108. case 3:
  109. {
  110. _ret set[count _ret,["V_Rangemaster_belt",nil,800]];
  111. if(__GETC__(life_gta_coplevel) > 1) then
  112. {
  113. _ret set[count _ret,["V_PlateCarrier1_blk",nil,1500]];
  114. _ret set[count _ret,["V_RebreatherB",nil,1500]];
  115. };
  116.  
  117. if(__GETC__(life_gta_coplevel) > 3) then
  118. {
  119. _ret set[count _ret,["V_TacVest_blk_POLICE",nil,1500]];
  120. };
  121.  
  122. if(license_cop_swat) then
  123. {
  124. _ret set[count _ret,["V_PlateCarrier2_rgr",nil,1500]];
  125. _ret set[count _ret,["V_TacVest_blk",nil,1500]];
  126. };
  127. };
  128.  
  129. //Backpacks
  130. case 4:
  131. {
  132. _ret =
  133. [
  134. ["B_Carryall_cbr",nil,3500]
  135. ];
  136.  
  137. if(__GETC__(life_gta_coplevel) > 7) then
  138. {
  139. _ret =
  140. [
  141. ["B_Carryall_cbr",nil,3500],
  142. ["B_UAV_01_backpack_F",nil,3500]
  143. ];
  144. };
  145. };
  146. };
  147.  
  148. _ret;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement