Hey Leute eine Frage ich habe allen Jobs eine Funke eingefügt zeigt auch im Job an nur wenn man diese Kauft ist sie nicht im Inventar.

Tanoa 5.0 Items nach den kauf nicht da?
-
3nrico96 -
16. Februar 2017 um 00:17 -
Geschlossen -
Erledigt
-
-
Code
Alles anzeigen/* * FORMAT: * STRING (Conditions) - Must return boolean : * String can contain any amount of conditions, aslong as the entire * string returns a boolean. This allows you to check any levels, licenses etc, * in any combination. For example: * "call life_coplevel && license_civ_someLicense" * This will also let you call any other function. * * * ARRAY FORMAT: * 0: STRING (Classname): Item Classname * 1: STRING (Nickname): Nickname that will appear purely in the shop dialog * 2: SCALAR (Buy price) * 3: SCALAR (Sell price): To disable selling, this should be -1 * 4: STRING (Conditions): Same as above conditions string * * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items * */ class WeaponShops { //Armory Shops class gun { name = "Billy Joe's Firearms"; side = "civ"; conditions = "license_civ_gun"; items[] = { { "hgun_Rook40_F", "", 6500, 500, "" }, { "hgun_Pistol_heavy_02_F", "", 9850, -1, "" }, { "hgun_ACPC2_F", "", 11500, -1, "" }, { "hgun_PDW2000_F", "", 20000, -1, "" }, { "hgun_P07_khk_F", "", 21000, -1, "" }, //Apex DLC { "hgun_Pistol_01_F", "", 20000, -1, "" }, //Apex DLC { "SMG_05_F", "", 180000, -1, "" } //Apex DLC }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 100, "" }, { "6Rnd_45ACP_Cylinder", "", 150, 100, "" }, { "9Rnd_45ACP_Mag", "", 200, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 100, "" }, { "30Rnd_9x21_Mag_SMG_02", "", 250, 100, "" }, //Apex DLC { "10Rnd_9x21_Mag", "", 250, 100, "" } //Apex DLC - Had to guess this. Not referenced anywhere }; accs[] = { { "optic_ACO_grn_smg", "", 2500, 100, "" } }; }; class rebel { name = "Mohammed's Jihadi Shop"; side = "civ"; conditions = "license_civ_rebel"; items[] = { { "arifle_TRG20_F", "", 25000, 2500, "" }, { "arifle_Katiba_F", "", 30000, 5000, "" }, { "srifle_DMR_01_F", "", 50000, -1, "" }, { "arifle_SDAR_F", "", 20000, 7500, "" }, { "arifle_AK12_F", "", 22000, 7500, "" }, //Apex DLC { "arifle_AKS_F", "", 22000, 7500, "" }, //Apex DLC { "arifle_AKM_F", "", 22000, 7500, "" }, //Apex DLC { "arifle_ARX_blk_F", "", 22000, 7500, "" }, //Apex DLC { "arifle_SPAR_01_blk_F", "", 33000, 7500, "" }, //Apex DLC { "arifle_CTAR_blk_F", "", 30000, 5000, "" } //Apex DLC }; mags[] = { { "30Rnd_556x45_Stanag", "", 300, 100, "" }, { "30Rnd_762x39_Mag_F", "", 300, 100, "" }, { "30Rnd_545x39_Mag_F", "", 300, 100, "" }, //Apex DLC { "30Rnd_65x39_caseless_green", "", 275, 100, "" }, { "10Rnd_762x54_Mag", "", 500, 100, "" }, { "20Rnd_556x45_UW_mag", "", 125, 100, "" }, { "30Rnd_580x42_Mag_F", "", 125, 100, "" } //Apex DLC }; accs[] = { { "optic_ACO_grn", "", 3500, 100, "" }, { "optic_Holosight", "", 3600, 100, "" }, { "optic_Hamr", "", 7500, 100, "" }, { "acc_flashlight", "", 1000, 100, "" } }; }; class gang { name = "Hideout Armament"; side = "civ"; conditions = ""; items[] = { { "hgun_Rook40_F", "", 1500, 500, "" }, { "hgun_Pistol_heavy_02_F", "", 2500, -1, "" }, { "hgun_ACPC2_F", "", 4500, -1, "" }, { "hgun_PDW2000_F", "", 9500, -1, "" } }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 100, "" }, { "6Rnd_45ACP_Cylinder", "", 150, 100, "" }, { "9Rnd_45ACP_Mag", "", 200, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 100, "" } }; accs[] = { { "optic_ACO_grn_smg", "", 950, 100, "" } }; }; //Basic Shops class genstore { name = "Altis General Store"; side = "civ"; conditions = ""; items[] = { { "Binocular", "", 150, -1, "" }, { "ItemGPS", "", 100, 45, "" }, { "ItemMap", "", 50, 35, "" }, { "ItemCompass", "", 50, 25, "" }, { "ItemWatch", "", 50, -1, "" }, { "FirstAidKit", "", 150, 65, "" }, { "NVGoggles", "", 2000, 980, "" }, { "Chemlight_red", "", 300, -1, "" }, { "Chemlight_yellow", "", 300, 50, "" }, { "Chemlight_green", "", 300, 50, "" }, { "Chemlight_blue", "", 300, 50, "" }, {"Item_tf_fadak","Radio 5km",500,-1, "" }, {"Item_tf_anprc148jem","Radio 5km",500, -1, "" }, {"Item_tf_anprc152","Long range radio ",1500, -1, "" } }; mags[] = {}; accs[] = {}; }; class f_station_store { name = "Altis Fuel Station Store"; side = ""; conditions = ""; items[] = { { "Binocular", "", 750, -1, "" }, { "ItemGPS", "", 500, 45, "" }, { "ItemMap", "", 250, 35, "" }, { "ItemCompass", "", 250, 25, "" }, { "ItemWatch", "", 250, -1, "" }, { "FirstAidKit", "", 750, 65, "" }, { "NVGoggles", "", 10000, 980, "" }, { "Chemlight_red", "", 1500, -1, "" }, { "Chemlight_yellow", "", 1500, 50, "" }, { "Chemlight_green", "", 1500, 50, "" }, { "Chemlight_blue", "", 1500, 50, "" }, {"Item_tf_fadak","Radio 5km",500,-1, "" }, {"Item_tf_anprc148jem","Radio 5km",500, -1, "" }, {"Item_tf_anprc152","Long range radio ",1500, -1, "" } }; mags[] = {}; accs[] = {}; }; //Cop Shops class cop_basic { name = "Altis Cop Shop"; side = "cop"; conditions = ""; items[] = { { "Binocular", "", 150, -1, "" }, { "ItemGPS", "", 100, 45, "" }, { "FirstAidKit", "", 150, 65, "" }, { "NVGoggles", "", 2000, 980, "" }, {"Item_tf_fadak","Radio 5km",500,-1, "" }, {"Item_tf_anprc148jem","Radio 5km",500, -1, "" }, {"Item_tf_anprc152","Long range radio ",1500, -1, "" }, { "HandGrenade_Stone", "Flashbang", 1700, -1, "" }, { "hgun_P07_snds_F", "Stun Pistol", 2000, 650, "" }, { "arifle_sdar_F", "Taser Rifle", 20000, 7500, "" }, { "hgun_P07_F", "", 7500, 1500, "" }, { "SMG_02_ACO_F", "", 30000, -1, "call life_coplevel >= 2" }, { "arifle_MX_F", "", 35000, 7500, "call life_coplevel >= 2" }, { "hgun_ACPC2_F", "", 17500, -1, "call life_coplevel >= 3" }, { "arifle_MXC_F", "", 30000, 5000, "call life_coplevel >= 3" }, // Snipers { "srifle_DMR_07_blk_F", "", 32000, 5000, "call life_coplevel >= 3" } //Apex DLC }; mags[] = { { "16Rnd_9x21_Mag", "", 125, 100, "" }, { "20Rnd_556x45_UW_mag", "Taser Rifle Magazine", 125, 100, "" }, { "30Rnd_65x39_caseless_mag", "", 130, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 100, "call life_coplevel >= 2" }, { "9Rnd_45ACP_Mag", "", 200, 100, "call life_coplevel >= 3" }, { "20Rnd_650x39_Cased_Mag_F", "", 200, 100, "call life_coplevel >= 3" } //Apex DLC }; accs[] = { { "muzzle_snds_L", "", 650, 100, "" }, { "acc_flashlight", "", 750, 100, "call life_coplevel >= 2" }, { "optic_Holosight", "", 1200, 100, "call life_coplevel >= 2" }, { "optic_Arco", "", 2500, 100, "call life_coplevel >= 2" }, { "muzzle_snds_H", "", 2750, 100, "call life_coplevel >= 2" }, { "optic_MRD", "", 2750, 100, "call life_coplevel >= 2" } }; }; //Medic Shops class med_basic { name = "store"; side = "med"; conditions = ""; items[] = { { "ItemGPS", "", 100, 45, "" }, { "Binocular", "", 150, -1, "" }, { "FirstAidKit", "", 150, 65, "" }, { "NVGoggles", "", 1200, 980, "" }, {"Item_tf_fadak","Radio 5km",500,-1, "" }, {"Item_tf_anprc148jem","Radio 5km",500, -1, "" }, {"Item_tf_anprc152","Long range radio ",1500, -1, "" } }; mags[] = {}; accs[] = {}; };
-
Hat keiner eine Idee?