Hay, ich habe im 3D editoreine Init erstellt, damit meine ganzen Shops dann nagezeigt wird[bei den cop]
Leider bekomme ich immer ein fehler nach dem einfügen , das eine ] fehlt, obwohl ich alle eingefügt habe,
villt. übersehe ich diese ] auch immer
es Wäre nett wenn mal einer drüber schauen würde
Spoiler anzeigen
this enableSimulation false;this allowDamage false;
this addAction[localize"STR_MAR_Cop_Item_Shop",life_fnc_virt_menu,"cop"];
this addAction[localize"STR_MAR_Cop_Clothing_Shop",life_fnc_clothingMenu,"cop"];
this addAction[localize"STR_MAR_grund_Weapon_Shop",life_fnc_weaponShopMenu,"cop_grund"];
this addAction[localize"STR_MAR_Cop_Weapon_Shop",life_fnc_weaponShopMenu,"cop_recruit"];
this addAction[localize"STR_MAR_Patrol_Officer_Weapon_Shop",life_fnc_weaponShopMenu,"cop_officer"];
this addAction[localize"STR_MAR_first_Weapon_Shop",life_fnc_weaponShopMenu,"cop_first"];
this addAction[localize"cop_patrol",life_fnc_weaponShopMenu,"cop_patrol"];
this addAction[localize"STR_MAR_sergeantw_Weapon_Shop",life_fnc_weaponShopMenu,"cop_sergeant"];
this addAction[localize"STR_MAR_lieutenant_Weapon_Shop",life_fnc_weaponShopMenu,"cop_lieutenant"];
this addAction[localize"STR_MAR_captain_Weapon_Shop",life_fnc_weaponShopMenu,"cop_captain"];
this addAction[localize"STR_MAR_inspector_Weapon_Shop",life_fnc_weaponShopMenu,"cop_Inspector];
this addAction[localize"STR_MAR_assichief_Weapon_Shop",life_fnc_weaponShopMenu,"cop_assistant];
this addAction[localize"STR_MAR_chief_Weapon_Shop",life_fnc_weaponShopMenu,"cop_chief];
this addAction[format ["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "cAir" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "cAir" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"cAir",0,false,false,"",' !license_cop_cAir && playerSide isEqualTo west ']; this addAction[format ["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "cg" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "cg" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"cg",0,false,false,"",' !license_cop_cg && playerSide isEqualTo west ']; this addAction[localize"STR_NOTF_ATM",life_fnc_atmMenu,"",0,false,false,"",' isNull objectParent player && player distance _target < 4 ']; this setObjectTextureGlobal [0,"textures\cop_uniform.jpg"];