Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Can't compile "World" script module!
ZenCraftingSounds/scripts/4_world/classes\recipes\recipebase.c(5): Overloaded function 'InsertIngredient' not compatible
Hello
I did it the way you wrote it unpack and repack when I restart my server I get the following message at DAYZ
Can´t compile "World" script module!
ZenCraftingSounds/script4_world/classes/recipes/recipebasic.c(5):
Overloaded funktion "Insertingredient" not compatible
am i doing something wrong or what could be the problem?
Replace or edit the one you have with this one here, pack the mod and done.
https://gist.github.com/Josecitox/643dbed1a8d2ad313e4b72850ae40753
Работает! Спасибо, друже! 🤝
Если говорить точнее, то была добавлена новая обязательная информация о параметрах функции. Переделать 1 минута.
Сама функция:
InsertIngredient(int index, string ingredient, DayZPlayerConstants uid = DayZPlayerConstants.CMD_ACTIONFB_CRAFTING)
Так же изменить строки добавив в конец(, uid):
InsertIngredientEx(index, ingredient, "Zen_SewingKit", uid);