Need help?
Create a topic in the appropriate section
Don't write everything in the chat!Take a look at the marketplace
There you can buy
everything related to game serversDon't want a ban?
Please read our rules
Don't disturb the order!Sell or buy?
Use services of the guarantor
We will make your deal safe



- 0
-
Our picks
Добрый день! Пытаюсь написать скрипт на изменение описания предмета в чужом моде. Но не могу подгрузить один файл, постоянно выдает ошибку. Подскажите в чем может быть причина?
config.cpp
class CfgPatches { class Mod_descriptions { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Scripts","ModMod"}; }; }; class CfgMods { class Mod_descriptions { type = "mod"; author = "Lectio"; dir = "Mod_descriptions"; name = "Mod descriptions"; }; }; class CfgDescriptions { #include "scripts/item_descriptions.c" };
item_descriptions.c
class CfgDescriptions { class Predmet1 { displayName = "Предмет 1"; descriptionShort = "ОПИСАНИЕ"; descriptionUse = "ОПИСАНИЕ"; descriptionFull = "ОПИСАНИЕ"; }; class Predmet1 { displayName = "Предмет 2"; descriptionShort = "ОПИСАНИЕ"; descriptionUse = "ОПИСАНИЕ"; descriptionFull = "ОПИСАНИЕ"; }; };
Все файлы вроде разместил верно. config.cpp находится в директории мода, item_descriptions.c находится в папке scripts

При запуске выдает такую ошибку:
Share this post
Link to post
Share on other sites