Guest User

Untitled

a guest
May 17th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 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 pushBack ["U_Rangemaster","Cop Uniform",25];
  23. if(__GETC__(life_coplevel) > 1) then
  24. {
  25. _ret pushBack ["U_B_CombatUniform_mcam_tshirt",nil,350];
  26. _ret pushBack ["U_B_SpecopsUniform_sgg",nil,2000]]
  27. };
  28. if(__GETC__(life_coplevel) > 2) then
  29. {
  30. _ret pushBack ["U_B_CombatUniform_mcam_vest",nil,500]
  31. _ret pushBack ["U_B_Wetsuit",nil,500]
  32. _ret pushBack ["U_B_CombatUniform_mcam",nil,550];
  33. _ret pushBack ["U_B_CombatUniform_mcam_worn",nil,1750];
  34.  
  35. };
  36. };
  37. //Hats
  38. case 1:
  39. {
  40. if(__GETC__(life_coplevel) > 2) then
  41. {
  42. _ret pushBack ["H_Cap_police",nil,100];
  43. };
  44. if(__GETC__(life_coplevel) > 3) then
  45. {
  46. _ret pushBack ["H_Beret_blk_POLICE",nil,2500];
  47. _ret pushBack ["H_Beret_02",nil,1500];
  48. _ret pushBack ["H_Watchcap_blk",nil,3500];
  49. };
  50. if(__GETC__(life_coplevel) > 4) then
  51. {
  52. _ret pushBack ["H_CrewHelmetHeli_B",nil,5000];
  53. _ret pushBack ["H_HelmetB_black",nil,5000];
  54. _ret pushBack ["H_Booniehat_mcamo",nil,120];
  55. _ret pushBack ["H_MilCap_mcamo",nil,500];
  56. _ret pushBack ["H_HelmetIA",nil,1000];
  57. };
  58.  
  59. if(__GETC__(life_coplevel) > 5) then
  60. {
  61. _ret pushBack ["H_Beret_Colonel",nil,1500];
  62. };
  63. };
  64.  
  65. //Glasses
  66. case 2:
  67. {
  68. if(__GETC__(life_coplevel) > 1) then
  69. {
  70. _ret pushBack ["G_Shades_Black",nil,25]];
  71. _ret pushBack ["G_Shades_Blue",nil,20]];
  72. };
  73. if(__GETC__(life_coplevel) > 2) then
  74. {
  75. _ret pushBack ["G_Sport_Blackred",nil,20];
  76. _ret pushBack ["G_Sport_Checkered",nil,20];
  77. _ret pushBack ["G_B_Diving",nil,100];
  78. _ret pushBack ["G_Squares",nil,10];
  79. _ret pushBack ["G_Lowprofile",nil,30];
  80. _ret pushBack ["G_Combat",nil,55];
  81. _ret pushBack ["G_Balaclava_blk",nil,500];
  82. _ret pushBack ["G_Sport_Blackyellow",nil,20];
  83. _ret pushBack ["G_Sport_BlackWhite",nil,20];
  84. _ret pushBack ["G_Aviator",nil,75];
  85. ];
  86. };
  87.  
  88. //Vest
  89. case 3:
  90. {
  91. _ret pushBack ["V_Rangemaster_belt",nil,800]];
  92. if(__GETC__(life_coplevel) > 2) then
  93. {
  94. _ret pushBack ["V_RebreatherB",nil,5000];
  95. _ret pushBack ["V_TacVest_blk_POLICE",nil,1500];
  96. _ret pushBack ["V_TacVestIR_blk",nil,3000];
  97. _ret pushBack ["V_PlateCarrier1_blk",nil,2000];
  98. };
  99. };
  100.  
  101. //Backpacks
  102. case 4:
  103. {
  104. _ret =
  105. [
  106. ["B_Bergen_mcamo",nil,800],
  107. ];
  108. };
  109. };
  110.  
  111. _ret;
Advertisement
Add Comment
Please, Sign In to add comment