Server Mission - CBA_3 Keine Visiere mehr Kaufbar..

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • Alles kla habe ich getan teste es jetzt

    //okay es geht wieder
    aber jetzt ist da nix mehr drin -.-

    aber es ist wieder aufrufbar :thumbsup: :thumbsup:

    meine config

    Spoiler anzeigen

    Quellcode

    1. /*
    2. * FORMAT:
    3. * STRING (Conditions) - Must return boolean :
    4. * String can contain any amount of conditions, aslong as the entire
    5. * string returns a boolean. This allows you to check any levels, licenses etc,
    6. * in any combination. For example:
    7. * "call life_coplevel && license_civ_someLicense"
    8. * This will also let you call any other function.
    9. *
    10. *
    11. * ARRAY FORMAT:
    12. * 0: STRING (Classname): Item Classname
    13. * 1: STRING (Nickname): Nickname that will appear purely in the shop dialog
    14. * 2: SCALAR (Buy price)
    15. * 3: SCALAR (Sell price): To disable selling, this should be -1
    16. * 4: STRING (Conditions): Same as above conditions string
    17. *
    18. * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons
    19. * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items
    20. *
    21. */
    22. class WeaponShops {
    23. //Armory Shops
    24. class gun {
    25. name = "Billy Joe's Firearms";
    26. side = "civ";
    27. conditions = "license_civ_gun";
    28. items[] = {
    29. { "hgun_Rook40_F", "", 6500, 3250, "" },
    30. { "hgun_Pistol_01_F", "", 7000, 3500, "" }, //Apex DLC
    31. { "hgun_Pistol_heavy_02_F", "", 9850, 4925, "" },
    32. { "hgun_ACPC2_F", "", 11500, 5750, "" },
    33. { "SMG_05_F", "", 18000, 9000, "" }, //Apex DLC
    34. { "hgun_PDW2000_F", "", 20000, 10000, "" }
    35. };
    36. mags[] = {
    37. { "16Rnd_9x21_Mag", "", 125, 60, "" },
    38. { "6Rnd_45ACP_Cylinder", "", 150, 75, "" },
    39. { "9Rnd_45ACP_Mag", "", 200, 100, "" },
    40. { "30Rnd_9x21_Mag", "", 250, 125, "" },
    41. { "30Rnd_9x21_Mag_SMG_02", "", 250, 125, "" }, //Apex DLC
    42. { "10Rnd_9x21_Mag", "", 250, 125, "" } //Apex DLC
    43. };
    44. accs[] = {
    45. { "optic_ACO_grn_smg", "", 2500, 1250, "" }
    46. };
    47. };
    48. class rebel {
    49. name = "Mohammed's Jihadi Shop";
    50. side = "civ";
    51. conditions = "license_civ_rebel";
    52. items[] = {
    53. { "arifle_TRG20_F", "", 25000, 12500, "" },
    54. { "arifle_Katiba_F", "", 30000, 15000, "" },
    55. { "srifle_DMR_01_F", "", 50000, 25000, "" },
    56. { "arifle_SDAR_F", "", 20000, 10000, "" },
    57. { "arifle_AK12_F", "", 22000, 11000, "" }, //Apex DLC
    58. { "arifle_AKS_F", "", 22000, 11000, "" }, //Apex DLC
    59. { "arifle_AKM_F", "", 22000, 11000, "" }, //Apex DLC
    60. { "arifle_ARX_blk_F", "", 22000, 11000, "" }, //Apex DLC
    61. { "arifle_SPAR_01_blk_F", "", 33000, 16500, "" }, //Apex DLC
    62. { "arifle_CTAR_blk_F", "", 30000, 15000, "" }, //Apex DLC
    63. { "srifle_DMR_01_DMS_F", "", 30000, 15000, "" } //selfmade
    64. };
    65. mags[] = {
    66. { "30Rnd_556x45_Stanag", "", 300, 150, "" },
    67. { "30Rnd_762x39_Mag_F", "", 300, 150, "" }, //Apex DLC
    68. { "30Rnd_545x39_Mag_F", "", 300, 150, "" }, //Apex DLC
    69. { "30Rnd_65x39_caseless_green", "", 275, 140, "" },
    70. { "10Rnd_762x54_Mag", "", 500, 250, "" },
    71. { "20Rnd_556x45_UW_mag", "", 125, 60, "" },
    72. { "30Rnd_580x42_Mag_F", "", 125, 60, "" } //Apex DLC
    73. };
    74. accs[] = {
    75. { "optic_ACO_grn", "", 3500, 1750, "" },
    76. { "optic_Holosight", "", 3600, 1800, "" },
    77. { "optic_Hamr", "", 7500, 3750, "" },
    78. { "acc_flashlight", "", 1000, 500, "" },
    79. { "optic_DMS", "", 1000, 500, "" },
    80. { "acc_pointer_IR", "", 1000, 500, "" }
    81. };
    82. };
    83. class gang {
    84. name = "Hideout Armament";
    85. side = "civ";
    86. conditions = "";
    87. items[] = {
    88. { "hgun_Rook40_F", "", 1500, 750, "" },
    89. { "hgun_Pistol_heavy_02_F", "", 2500, 1250, "" },
    90. { "hgun_ACPC2_F", "", 4500, 2250, "" },
    91. { "hgun_PDW2000_F", "", 9500, 4750, "" }
    92. };
    93. mags[] = {
    94. { "16Rnd_9x21_Mag", "", 125, 60, "" },
    95. { "6Rnd_45ACP_Cylinder", "", 150, 75, "" },
    96. { "9Rnd_45ACP_Mag", "", 200, 100, "" },
    97. { "30Rnd_9x21_Mag", "", 250, 125, "" }
    98. };
    99. accs[] = {
    100. { "optic_ACO_grn_smg", "", 950, 475, "" }
    101. };
    102. };
    103. //Basic Shops
    104. class genstore {
    105. name = "Altis General Store";
    106. side = "civ";
    107. conditions = "";
    108. items[] = {
    109. { "Binocular", "", 150, 75, "" },
    110. { "ItemGPS", "", 100, 50, "" },
    111. { "ItemMap", "", 50, 25, "" },
    112. { "ItemCompass", "", 50, 25, "" },
    113. { "ItemWatch", "", 50, 25, "" },
    114. { "FirstAidKit", "", 150, 75, "" },
    115. { "NVGoggles", "", 2000, 1000, "" },
    116. { "Chemlight_red", "", 300, 150, "" },
    117. { "Chemlight_yellow", "", 300, 150, "" },
    118. { "Chemlight_green", "", 300, 150, "" },
    119. { "Chemlight_blue", "", 300, 150, "" }
    120. };
    121. mags[] = {};
    122. accs[] = {};
    123. };
    124. class f_station_store {
    125. name = "Altis Fuel Station Store";
    126. side = "";
    127. conditions = "";
    128. items[] = {
    129. { "Binocular", "", 750, 75, "" },
    130. { "ItemGPS", "", 500, 50, "" },
    131. { "ItemMap", "", 250, 25, "" },
    132. { "ItemCompass", "", 250, 25, "" },
    133. { "ItemWatch", "", 250, 25, "" },
    134. { "FirstAidKit", "", 750, 75, "" },
    135. { "NVGoggles", "", 10000, 1000, "" },
    136. { "Chemlight_red", "", 1500, 150, "" },
    137. { "Chemlight_yellow", "", 1500, 150, "" },
    138. { "Chemlight_green", "", 1500, 150, "" },
    139. { "Chemlight_blue", "", 1500, 150, "" }
    140. };
    141. mags[] = {};
    142. accs[] = {};
    143. };
    144. //Cop Shops
    145. class cop_basic {
    146. name = "Altis Cop Shop";
    147. side = "cop";
    148. conditions = "";
    149. items[] = {
    150. { "B_UavTerminal", "", 400, 200, "" },
    151. { "Skyline_B_Remote_Cam", "", 400, 200, "" },
    152. { "tf_anprc152_2", "", 80, 40, "" },
    153. { "Binocular", "", 150, 75, "" },
    154. { "ItemGPS", "", 100, 50, "" },
    155. { "FirstAidKit", "", 150, 75, "" },
    156. { "NVGoggles", "", 2000, 1000, "" },
    157. { "HandGrenade_Stone", $STR_W_items_Flashbang, 1700, 850, "" },
    158. { "hgun_P07_snds_F", $STR_W_items_StunPistol, 2000, 1000, "" },
    159. { "arifle_SDAR_F", $STR_W_items_TaserRifle, 20000, 10000, "" },
    160. { "hgun_Rook40_F", "", 400,200, "" },//sek pistel ^^
    161. { "hgun_P07_F", "", 7500, 3750, "" },
    162. { "hgun_P07_khk_F", "", 7500, 3750, "" }, //Apex DLC
    163. { "hgun_Pistol_heavy_01_F", "", 9500, 4750, "call life_coplevel >= 1" },
    164. { "SMG_02_ACO_F", "", 30000, 15000, "call life_coplevel >= 2" },
    165. { "arifle_MX_F", "", 35000, 17500, "call life_coplevel >= 2" },
    166. { "hgun_ACPC2_F", "", 17500, 8750, "call life_coplevel >= 3" },
    167. { "arifle_MXC_F", "", 30000, 15000, "call life_coplevel >= 3" },
    168. { "srifle_DMR_07_blk_F", "", 32000, 16000, "call life_coplevel >= 3" },
    169. { "srifle_GM6_LRPS_F", "", 32000, 16000, "call life_coplevel >= 6" },
    170. { "arifle_MXM_Hamr_pointer_F", "", 32000, 16000, "call life_coplevel >= 4" },
    171. { "arifle_MX_Holo_pointer_F", "", 600, 300, "call life_coplevel >= 3" },
    172. };
    173. mags[] = {
    174. { "16Rnd_9x21_Mag", "", 125, 60, "" },
    175. { "20Rnd_556x45_UW_mag", $STR_W_mags_TaserRifle, 125, 60, "" },
    176. { "16Rnd_9x21_Mag", "", 100, 50, "" },//sek pistel
    177. { "11Rnd_45ACP_Mag", "", 130, 65, "call life_coplevel >= 1" },
    178. { "30Rnd_65x39_caseless_mag", "", 130, 65, "call life_coplevel >= 2" },
    179. { "30Rnd_9x21_Mag", "", 250, 125, "call life_coplevel >= 2" },
    180. { "9Rnd_45ACP_Mag", "", 200, 100, "call life_coplevel >= 3" },
    181. { "20Rnd_650x39_Cased_Mag_F", "", 200, 100, "call life_coplevel >= 3" },
    182. { "5Rnd_127x108_Mag", "", 200, 100, "call life_coplevel >= 6" },
    183. { "5Rnd_127x108_APDS_Mag", "", 200, 100, "call life_coplevel >= 6" },
    184. { "30Rnd_65x39_caseless_mag", "", 200, 100, "call life_coplevel >= 4" } ,
    185. { "30Rnd_65x39_caseless_mag_Tracer", "", 200, 100, "call life_coplevel >= 4" },
    186. { "30Rnd_556x45_Stanag", "", 300, 150, "" },
    187. { "30Rnd_65x39_caseless_mag", "", 100, 50, "" }
    188. };
    189. accs[] = {
    190. { "muzzle_snds_L", "", 650, 325, "" },
    191. { "optic_MRD", "", 2750, 1375, "call life_coplevel >= 1" },
    192. { "acc_flashlight", "", 750, 375, "call life_coplevel >= 2" },
    193. { "optic_Holosight", "", 1200, 600, "call life_coplevel >= 2" },
    194. { "optic_Arco", "", 2500, 1250, "call life_coplevel >= 2" },
    195. { "muzzle_snds_H", "", 2750, 1375, "call life_coplevel >= 2" },
    196. { "optic_LRPS", "", 2750, 1375, "call life_coplevel >= 6" },
    197. { "optic_ACO_grn", "", 3500, 1750, "" },
    198. { "optic_Hamr", "", 300, 150, "" },
    199. { "optic_Nightstalker", "", 400, 250, ""},
    200. { "optic_Holosight_smg_blk_F", "", 100, 50, "" }
    201. };
    202. };
    203. //Medic Shops
    204. class med_basic {
    205. name = "store";
    206. side = "med";
    207. conditions = "";
    208. items[] = {
    209. { "Skyline_C_Remote_Cam", "", 400, 200, "" },
    210. { "ItemGPS", "", 100, 50, "" },
    211. { "Binocular", "", 150, 75, "" },
    212. { "FirstAidKit", "", 150, 75, "" },
    213. { "NVGoggles", "", 1200, 600, "" }
    214. };
    215. mags[] = {};
    216. accs[] = {};
    217. };
    218. };
    Alles anzeigen


  • aso kla

    ehm ich habe einfach den punkt in der weponcfg *accs* gelöscht und alles zu items hinzugefügt
    Spoiler anzeigen

    so kann man es einfach mal umgehen und man kann mit leben :D

    Quellcode

    1. class rebel {
    2. name = "Mohammed's Jihadi Shop";
    3. side = "civ";
    4. conditions = "license_civ_rebel";
    5. items[] = {
    6. { "tf_anprc152_2", 80, 40, "" },
    7. { "arifle_TRG20_F", "", 25000, 12500, "" },
    8. { "arifle_Katiba_F", "", 30000, 15000, "" },
    9. { "srifle_DMR_01_F", "", 50000, 25000, "" },
    10. { "arifle_SDAR_F", "", 20000, 10000, "" },
    11. { "arifle_AK12_F", "", 22000, 11000, "" }, //Apex DLC
    12. { "arifle_AKS_F", "", 22000, 11000, "" }, //Apex DLC
    13. { "arifle_AKM_F", "", 22000, 11000, "" }, //Apex DLC
    14. { "arifle_ARX_blk_F", "", 22000, 11000, "" }, //Apex DLC
    15. { "arifle_SPAR_01_blk_F", "", 33000, 16500, "" }, //Apex DLC
    16. { "arifle_CTAR_blk_F", "", 30000, 15000, "" }, //Apex DLC
    17. { "srifle_DMR_01_DMS_F", "", 30000, 15000, "" }, //selfmade
    18. { "optic_ACO_grn", "", 3500, 1750, "" },//scopes
    19. { "optic_Holosight", "", 3600, 1800, "" },
    20. { "optic_Hamr", "", 7500, 3750, "" },
    21. { "acc_flashlight", "", 1000, 500, "" },
    22. { "optic_DMS", "", 1000, 500, "" },
    23. { "acc_pointer_IR", "", 1000, 500, "" }
    24. };
    25. mags[] = {
    26. { "30Rnd_556x45_Stanag", "", 300, 150, "" },
    27. { "30Rnd_762x39_Mag_F", "", 300, 150, "" }, //Apex DLC
    28. { "30Rnd_545x39_Mag_F", "", 300, 150, "" }, //Apex DLC
    29. { "30Rnd_65x39_caseless_green", "", 275, 140, "" },
    30. { "10Rnd_762x54_Mag", "", 500, 250, "" },
    31. { "20Rnd_556x45_UW_mag", "", 125, 60, "" },
    32. { "30Rnd_580x42_Mag_F", "", 125, 60, "" } //Apex DLC
    33. };
    34. accs[] = {
    35. };
    Alles anzeigen





    *close*