Guten Abend ich habe folgnes Problem.
Ich habe einen mod Server und habe mein SEK Waffen shop eingerichtet.habe dan Folgen Fehler:Warning Message: File mpmissions\__cur_mp.Tanoa\config\Config_Weapons.hpp, line 375: '/WeaponShops/cop_SEK.': '{' encountered instead of '='
Kann damit aber nichts anfangen habe geschaut ob alles richtig gesetzt ist aber ich finde nichts habe dan ein }; Fehler gefunden und behoben das hat aber auch nicht gebracht.
Kann mir da einer helfen ?
Das ist mein Waffen Shop der SEK Shop soll den Fehler verursachen:
Spoiler 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[] = {
{ "tf_anprc155_coyote", "", 150, 65, "" },
{ "tf_anprc152_1", "", 150, 65, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "RH_m9", "", 25000, 1500, "" },
{ "RH_m9c", "", 25100, 1500, "" },
{ "bersa_bp9cc", "", 15000, -1, "" },
{ "bersa_bp9cc_c", "", 15000, -1, "" },
{ "bersa_bp9cc_d", "", 15000, -1, "" },
{ "bersa_firestorm", "", 30000, -1, "" },
{ "bersa_firestorm_due", "", 30000, -1, "" },
{ "bersa_firestorm_camo", "", 30000, -1, "" },
{ "bersa_380", "", 25000, -1, "" },
{ "bersathunder_due1", "", 55000, -1, "" },
{ "RH_cz75", "", 25000, -1, "" },
{ "fm_m95cm", "", 45000, -1, "" },
{ "RH_fn57", "", 65000, -1, "" },
{ "RH_g17", "", 45000, -1, "" },
{ "RH_g19", "", 42000, -1, "" },
{ "RH_g19t", "", 43000, -1, "" },
{ "RH_gsh18", "", 35000, -1, "" },
{ "RH_kimber", "", 15000, -1, "" },
{ "RH_m1911", "", 5000, -1, "" },
{ "RH_mp412", "", 10000, -1, "" },
{ "RH_bullb", "", 15000, -1, "" },
{ "RH_bull", "", 15000, -1, "" },
{ "FHQ_smg_p90_black", "", 350000, -1, "" },
{ "RH_tec9", "", 150000, -1, "" }
};
mags[] = {
{ "RH_15Rnd_9x19_M9", "", 500, 100, "" },
{ "8Rnds_9x21_Mag", "", 75, 10, "" },
{ "7Rnds_45acp_BersaMag", "", 25, 10, "" },
{ "Rnds_380acp_Mag", "", 75, 100, "" },
{ "16Rnd_9x21_Mag_bersa", "", 10, -1, "" },
{ "RH_16Rnd_9x19_CZ", "", 150, -1, "" },
{ "13Rnds_9x21_Mag", "", 150, -1, "" },
{ "RH_20Rnd_57x28_FN", "", 150, -1, "" },
{ "RH_17Rnd_9x19_g17", "", 550, -1, "" },
{ "RH_17Rnd_9x19_g17", "", 550, -1, "" },
{ "RH_18Rnd_9x19_gsh", "", 800, -1, "" },
{ "RH_7Rnd_45cal_m1911", "", 150, -1, "" },
{ "RH_7Rnd_45cal_m1911", "", 100, -1, "" },
{ "RH_6Rnd_357_Mag", "", 50, -1, "" },
{ "RH_6Rnd_454_Mag", "", 150, -1, "" },
{ "RH_6Rnd_454_Mag", "", 150, -1, "" },
{ "FHQ_50Rnd_57x28_Red_Tracers_Mag", "", 5000, -1, "" },
{ "RH_32Rnd_9x19_tec", "", 2000, -1, "" }
};
accs[] = {
{ "optic_ACO_grn_smg", "", 2500, 100, "" }
};
};
class rebel {
name = "Mohammed's Jihadi Shop";
side = "civ";
conditions = "license_civ_rebel";
items[] = {
{ "tf_anprc155_coyote", "", 150, 65, "" },
{ "tf_anprc152_1", "", 150, 65, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "arifle_AN94_F", "", 450000, 2500, "" },
{ "KA_RO991", "", 450000, 5000, "" },
{ "FHQ_arifle_G36C_black", "", 250000, -1, "" },
{ "FHQ_arifle_Galil_black", "", 500000, -1, "" },
{ "FHQ_arifle_M4std_short_blk", "", 400000, -1, "" },
{ "FHQ_arifle_M4std_long_blk", "", 500000, -1, "" },
{ "KA_MP7_Rifle_Black_20Rnd", "", 300000, -1, "" },
{ "FHQ_smg_p90_olive", "", 250000, -1, "" },
{ "KA_Vityaz", "", 400000, -1, "" },
{ "KA_PP19", "", 300000, -1, "" },
{ "FHQ_smg_PS90_olive", "", 300000, -1, "" },
{ "FHQ_srifle_M2010_WDL", "", 1500000, -1, "" },
{ "KA_SCAR_H_Black_Hand", "", 700000, -1, "" },
{ "KA_SCAR_L_Black_Hand", "", 500000, -1, "" },
{ "KA_SCAR_L_Tan_Grip", "", 500000, -1, "" },
{ "KA_SG_550", "", 300000, -1, "" },
{ "KA_SG_552", "", 250000, -1, "" },
{ "KA_WA2000", "", 1500000, -1, "" },
{ "RH_deagle", "", 100000, -1, "" },
{ "DE_Leon", "", 120000, -1, "" },
{ "RH_Deagleg", "", 200000, -1, "" },
{ "RH_Deaglem", "", 140000, -1, "" },
{ "RH_Deagles", "", 150000, -1, "" },
{ "RH_fn57", "", 50000, -1, "" },
{ "RH_g18", "", 70000, -1, "" },
{ "KA_Mk23_silver", "", 50000, -1, "" },
{ "RH_muzi", "", 50000, -1, "" },
{ "RH_mp412", "", 50000, -1, "" },
{ "RH_mk2", "", 50000, -1, "" },
{ "RH_vz61", "", 50000, -1, "" },
{ "RH_ttracker_g", "", 70000, 7500, "" },
{ "M9_SE_B", "", 50110, -1, "" },
{ "RH_vp70", "", 50110, -1, "" },
{ "optic_ACO_grn", "", 3500, 100, "" },
{ "optic_Holosight", "", 3600, 100, "" },
{ "optic_Hamr", "", 7500, 100, "" },
{ "optic_AMS", "", 10000, 100, "" },
{ "optic_Eotech553", "", 5500, 100, "" },
{ "optic_LRPS", "", 5500, 100, "" },
{ "optic_MRCO", "", 7500, 100, "" },
{ "optic_DMS", "", 8500, 100, "" },
{ "optic_ERCO_blk_F", "", 8500, 100, "" },
{ "optic_KHS_blk", "", 8500, 100, "" },
{ "bipod_01_F_snd", "", 7500, 100, "" },
{ "acc_flashlight", "", 1000, 100, "" }
};
mags[] = {
{ "KA_30Rnd_545x39_7N6M_Ball", "", 500, -1, "" },
{ "KA_32Rnd_9x19_FMJ_Mag", "", 500, -1, "" },
{ "30Rnd_556x45_Stanag", "", 500, -1, "" },
{ "FHQ_25Rnd_762x51_Mag", "", 500, -1, "" },
{ "30Rnd_556x45_Stanag", "", 500, -1, "" },
{ "KA_20Rnd_46x30_FMJ", "", 500, -1, "" },
{ "FHQ_50Rnd_57x28_Mag", "", 500, -1, "" },
{ "KA_30Rnd_9x19_7N31_AP_Mag", "", 500, -1, "" },
{ "KA_64Rnd_9x18_PMM_FMJ_Mag", "", 500, -1, "" },
{ "FHQ_50Rnd_57x28_Mag", "", 500, -1, "" },
{ "FHQ_rem_5Rnd_300Win_M2010", "", 5500, -1, "" },
{ "KA_SCAR_H_20rnd_Mk319_SOST_mag", "", 500, -1, "" },
{ "KA_SCAR_L_30rnd_Mk318_SOST_mag", "", 500, -1, "" },
{ "KA_SCAR_L_30rnd_Mk318_SOST_mag", "", 500, -1, "" },
{ "KA_SIG_30rnd_Mk318_SOST_mag", "", 500, -1, "" },
{ "KA_SIG_30rnd_Mk318_SOST_mag", "", 500, -1, "" },
{ "KA_6Rnd_300win_Mag", "", 7500, -1, "" },
{ "RH_7Rnd_50_AE", "", 500, -1, "" },
{ "RH_20Rnd_57x28_FN", "", 500, -1, "" },
{ "RH_19Rnd_9x19_g18", "", 500, -1, "" },
{ "KA_12Rnd_45ACP_FMJ_Mag", "", 500, -1, "" },
{ "RH_30Rnd_9x19_UZI", "", 500, -1, "" },
{ "RH_6Rnd_357_Mag", "", 500, -1, "" },
{ "RH_10Rnd_22LR_mk2", "", 500, -1, "" },
{ "RH_20Rnd_32cal_vz61", "", 500, -1, "" },
{ "RH_6Rnd_45ACP_Mag", "", 500, -1, "" },
{ "RH_15Rnd_9x19_M9", "", 500, -1, "" },
{ "RH_18Rnd_9x19_VP", "", 500, -1, "" }
};
accs[] = {
{ "optic_ACO_grn", "", 3500, 100, "" },
{ "optic_Holosight", "", 3600, 100, "" },
{ "optic_Hamr", "", 7500, 100, "" },
{ "optic_AMS", "", 10000, 100, "" },
{ "optic_Eotech553", "", 5500, 100, "" },
{ "optic_LRPS", "", 5500, 100, "" },
{ "optic_MRCO", "", 7500, 100, "" },
{ "optic_DMS", "", 8500, 100, "" },
{ "optic_ERCO_blk_F", "", 8500, 100, "" },
{ "optic_KHS_blk", "", 8500, 100, "" },
{ "bipod_01_F_snd", "", 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", "", 25, 100, "" },
{ "6Rnd_45ACP_Cylinder", "", 50, 100, "" },
{ "9Rnd_45ACP_Mag", "", 45, 100, "" },
{ "30Rnd_9x21_Mag", "", 75, 100, "" }
};
accs[] = {
{ "optic_ACO_grn_smg", "", 950, 100, "" }
};
};
//Basic Shops
class genstore {
name = "Altis General Store";
side = "civ";
conditions = "";
items[] = {
{ "tf_anprc155_coyote", "", 5000, 65, "" },
{ "tf_anprc152_1", "", 1000, 65, "" },
{ "Binocular", "", 150, -1, "" },
{ "ItemGPS", "", 100, 45, "" },
{ "ItemMap", "", 50, 35, "" },
{ "ItemCompass", "", 50, 25, "" },
{ "ItemWatch", "", 50, -1, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "NVGoggles", "", 2000, 980, "" },
{ "Chemlight_red", "", 300, -1, "" },
{ "Chemlight_yellow", "", 300, 50, "" },
{ "Chemlight_green", "", 300, 50, "" },
{ "Chemlight_blue", "", 300, 50, "" }
};
mags[] = {};
accs[] = {};
};
class f_station_store {
name = "Altis Fuel Station Store";
side = "";
conditions = "";
items[] = {
{ "tf_anprc155_coyote", "", 10000, 65, "" },
{ "tf_anprc152_1", "", 150, 3000, "" },
{ "Binocular", "", 750, -1, "" },
{ "ItemGPS", "", 500, 45, "" },
{ "ItemMap", "", 250, 35, "" },
{ "ItemCompass", "", 250, 25, "" },
{ "ItemWatch", "", 250, -1, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "NVGoggles", "", 10000, 980, "" },
{ "Chemlight_red", "", 1500, -1, "" },
{ "Chemlight_yellow", "", 1500, 50, "" },
{ "Chemlight_green", "", 1500, 50, "" },
{ "Chemlight_blue", "", 1500, 50, "" }
};
mags[] = {};
accs[] = {};
};
//Cop Shops
class cop_basic {
name = "Polizei Shop";
side = "cop";
conditions = "";
items[] = {
{ "tf_anprc155_coyote", "", 150, 65, "" },
{ "tf_anprc152_1", "", 150, 65, "" },
{ "Binocular", "", 150, -1, "" },
{ "ItemGPS", "", 100, 45, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_epinephrine", "", 150, 65, "" },
{ "ACE_morphine", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "NVGoggles", "", 2000, 980, "" },
{ "HandGrenade_Stone", "Flashbang", 1700, -1, "call life_coplevel >= 6" },
{ "CSW_M26C", "", 700, 1500, "" },
{ "RH_usp", "", 200, -1, "call life_coplevel >= 4" },
{ "RH_uspm", "", 200, -1, "call life_coplevel >= 4" },
{ "RH_fn57", "", 200, -1, "call life_coplevel >= 5" },
{ "RH_g18", "", 200, -1, "call life_coplevel >= 6" },
{ "bersathunder_due1", "", 200, -1, "call life_coplevel >= 4" },
{ "SMG_05_F", "", 200, -1, "call life_coplevel >= 3" },
{ "FHQ_arifle_ACR_blk_MRCO_laser", "", 200, -1, "call life_coplevel >= 6" },
{ "FHQ_arifle_M4std_long_blk", "", 200, -1, "call life_coplevel >= 7" },
{ "muzzle_snds_L", "", 650, 100, "" },
{ "muzzle_snds_B", "", 650, 100, "" },
{ "optic_ACO_grn", "", 3500, 100, "" },
{ "optic_Holosight", "", 3600, 100, "" },
{ "optic_Hamr", "", 7500, 100, "" },
{ "optic_AMS", "", 10000, 100, "" },
{ "optic_Eotech553", "", 5500, 100, "" },
{ "optic_LRPS", "", 5500, 100, "" },
{ "optic_MRCO", "", 7500, 100, "" },
{ "optic_DMS", "", 8500, 100, "" },
{ "optic_ERCO_blk_F", "", 8500, 100, "" },
{ "optic_KHS_blk", "", 8500, 100, "" },
{ "bipod_01_F_snd", "", 7500, 100, "" },
{ "acc_flashlight", "", 1000, 100, "" }
};
mags[] = {
{ "CSW_Taser_Probe_Mag", "", 10, 1, "" },
{ "RH_12Rnd_45cal_usp", "", 200, 100, "call life_coplevel >= 3" },
{ "RH_16Rnd_40cal_usp", "", 200, 100, "call life_coplevel >= 3" },
{ "RH_33Rnd_9x19_g18", "", 200, 100, "call life_coplevel >= 6" },
{ "RH_20Rnd_57x28_FN", "", 200, 100, "call life_coplevel >= 4" },
{ "RH_18Rnd_9x19_gsh", "", 200, -1, "call life_coplevel >= 5" },
{ "30Rnd_9x21_Mag_SMG_02", "", 200, -1, "call life_coplevel >= 3" },
{ "16Rnd_9x21_Mag_bersa", "", 200, -1, "call life_coplevel >= 4" },
{ "FHQ_rem_30Rnd_680x43_ACR", "", 200, -1, "call life_coplevel >= 6" },
{ "FHQ_rem_5Rnd_300Win_M2010", "", 200, -1, "call life_coplevel >= 7" },
{ "30Rnd_556x45_Stanag", "", 200, -1, "call life_coplevel >= 7" }
};
accs[] = {
{ "muzzle_snds_L", "", 650, 100, "" },
{ "muzzle_snds_B", "", 650, 100, "" },
{ "KA_ANPEQ15_Black_IR", "", 650, 100, "" },
{ "optic_LRPS", "", 650, 100, "" },
{ "bipod_01_F_snd", "", 650, 100, "" }
};
};
//Cop Shops
class cop_SEK {
name = "SEK Shop";
side = "cop";
conditions = "license_cop_SEK";
items[] = {
{ "tf_anprc155_coyote", "", 150, 65, "" },
{ "tf_anprc152_1", "", 150, 65, "" },
{ "TAC_SGS_SK", "", 100, 45, "" },
{ "TRYK_kio_balaclava_BLK", "", 100, 45, "" },
{ "TRYK_G_bala_ess_NV", "", 100, 45, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_epinephrine", "", 150, 65, "" },
{ "ACE_morphine", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "KA_M1014", "", 50000, 65, "" },
{ "KA_DSR50", "", 50000, 65, "" },
{ "KA_UMP40", "", 50000, 65, "" },
{ "arifle_SPAR_01_GL_blk_F", "", 50000, 65, "" },
{ "KA_CS5", "", 50000, 65, "" },
{ "KA_MP7_Rifle_Black_40Rnd", "", 150, 65, "" },
{ "FHQ_smg_p90_black", "", 50000, 65, "" },
{ "FHQ_srifle_M2010_WDESERT", "", 50000, 65, "" },
{ "KA_ANPEQ15_Tan_IR", "", 5000, 65, "" },
{ "bipod_02_F_hex", "", 5000, 65, "" },
{ "srifle_DMR_03_F", "", 5000, 65, "" },
{ "bipod_02_F_blk", "", 5000, 65, "" },
{ "KA_ANPEQ15_Black_IR", "", 5000, 65, "" },
{ "muzzle_snds_B", "", 150, 65, "" },
{ "optic_Aco_smg", "", 150, 65, "" },
{ "acc_flashlight", "", 150, 65, "" },
{ "muzzle_snds_M", "", 150, 65, "" },
{ "KA_MP7_Flashlight", "", 150, 65, "" },
{ "KA_MP7_Silencer", "", 150, 65, "" },
{ "KA_CS5_Silencer", "", 150, 65, "" },
{ "KA_CS5_laser_IR_single", "", 150, 65, "" },
{ "optic_LRPS", "", 150, 65, "" },
{ "muzzle_snds_M", "", 150, 65, "" },
{ "KA_DSR5", "", 150, 65, "" },
{ "KA_DSR50_Silencer", "", 150, 65, "" },
{ "KA_DSR50_Bipod", "", 150, 65, "" },
{ "HandGrenade_Stone", "Flashbang", 1700, -1, "" }
};
mags[] = {
{ "6Rnd_M1014_PPA", "", 150, 65, "" },
{ "6Rnd_M1014_slug", "", 150, 65, "" },
{ "KA_DSR50_3Rnd_x2_M1022_LR_Mag", "", 150, 65, "" },
{ "6Rnd_M1014_buck", "", 150, 65, "" },
{ "KA_30Rnd_40SW_FMJ_Mag", "", 150, 65, "" },
{ "ACE_30Rnd_556x45_Stanag_Mk318_mag", "", 150, 65, "" },
{ "1Rnd_SmokeRed_Grenade_shell", "", 150, 65, "" },
{ "UGL_FlareWhite_F", "", 150, 65, "" },
{ "KA_CS5_10rnd_Mk316_SPR_mag", "", 150, 65, "" },
{ "KA_40Rnd_46x30_AP", "", 150, 65, "" },
{ "FHQ_50Rnd_57x28_Red_Tracers_Mag", "", 150, 65, "" },
{ "FHQ_rem_5Rnd_300Win_M2010", "", 150, 65, "" },
{ "20Rnd_762x51_Mag", "", 150, 65, "" }
};
accs[] = {
{ "optic_ACO_grn", "", 3500, 100, "" },
{ "optic_Holosight", "", 3600, 100, "" },
{ "optic_Hamr", "", 7500, 100, "" },
{ "optic_AMS", "", 10000, 100, "" },
{ "optic_Eotech553", "", 5500, 100, "" },
{ "optic_LRPS", "", 5500, 100, "" },
{ "optic_MRCO", "", 7500, 100, "" },
{ "optic_DMS", "", 8500, 100, "" },
{ "optic_ERCO_blk_F", "", 8500, 100, "" },
{ "optic_KHS_blk", "", 8500, 100, "" },
{ "bipod_01_F_snd", "", 7500, 100, "" },
}; { "acc_flashlight", "", 1000, 100, "" }
};
//Medic Shops
class med_basic {
name = "store";
side = "med";
conditions = "";
items[] = {
{ "tf_anprc155_coyote", "", 150, 65, "" },
{ "tf_anprc152_1", "", 150, 65, "" },
{ "ItemGPS", "", 100, 45, "" },
{ "Binocular", "", 150, -1, "" },
{ "ACE_EarPlugs", "", 150, 65, "" },
{ "ACE_fieldDressing", "", 150, 65, "" },
{ "ACE_elasticBandage", "", 150, 65, "" },
{ "ACE_packingBandage", "", 150, 65, "" },
{ "ACE_atropine", "", 150, 65, "" },
{ "ACE_quikclot", "", 150, 65, "" },
{ "ACE_bloodIV", "", 150, 65, "" },
{ "ACE_bloodIV_500", "", 150, 65, "" },
{ "ACE_bloodIV_250", "", 150, 65, "" },
{ "ACE_bodyBag", "", 150, 65, "" },
{ "ACE_personalAidKit", "", 150, 65, "" },
{ "ACE_plasmaIV", "", 150, 65, "" },
{ "ACE_plasmaIV_500", "", 150, 65, "" },
{ "ACE_plasmaIV_250", "", 150, 65, "" },
{ "ACE_salineIV", "", 150, 65, "" },
{ "ACE_salineIV_500", "", 150, 65, "" },
{ "ACE_salineIV_250", "", 150, 65, "" },
{ "ACE_surgicalKit", "", 150, 65, "" },
{ "ACE_tourniquet", "", 150, 65, "" },
{ "NVGoggles", "", 1200, 980, "" }
};
mags[] = {};
accs[] = {};
};
};