HeyHo NN Community,
ich verzweifle langsam.
Ich habe neue Polizeishops eingefügt und möchte die in die INIT eines NPCs packen.
Doch wenn ich den Code in die INIT packe bekomme ich immer die Fehlermeldung:
Bin ja net blöd und ich weiß das da ne eckige Klammer fehlt, aber WO?!
Mein Code:
Code
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_Cop_basic"",life_fnc_weaponShopMenu,""cop_basic""];
this addAction[localize""STR_MAR_Cop_pma"",life_fnc_weaponShopMenu,""cop_pma""];
this addAction[localize""STR_MAR_Cop_pm"",life_fnc_weaponShopMenu,""cop_pm""];
this addAction[localize""STR_MAR_Cop_pom"",life_fnc_weaponShopMenu,""cop_pom""];
this addAction[localize""STR_MAR_Cop_phm"",life_fnc_weaponShopMenu,""cop_phm""];
this addAction[localize""STR_MAR_Cop_pk"",life_fnc_weaponShopMenu,""cop_pk""];
this addAction[localize""STR_MAR_Cop_pd"",life_fnc_weaponShopMenu,""cop_pd""];
this addAction[localize""STR_MAR_Cop_lpd"",life_fnc_weaponShopMenu,""cop_lpd""];
this addAction[localize""STR_MAR_gsg9_basic"",life_fnc_weaponShopMenu,""gsg9_basic""];
this addAction[localize""STR_MAR_gsg9_1"",life_fnc_weaponShopMenu,""swat_1""];
this addAction[localize""STR_MAR_gsg9_2"",life_fnc_weaponShopMenu,""swat_2""];
this addAction[localize""STR_MAR_gsg9_3"",life_fnc_weaponShopMenu,""swat_3""];
this addAction[localize""STR_MAR_gsg9_4"",life_fnc_weaponShopMenu,""swat_4""];
Alles anzeigen
Ich hab mal meinen Codeschnipsel mit dem Standardeintrag verglichen, selbst dort ist es genauso.
Standard:
Biiittee helft mir
Greetz ReduX