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
Задача : Сделать так, что бы при спавне пушки на ней появлялся прицел.
На модели оружия стоит прокси прицела, цфг слотс и прокси аттачмент прицела прописаны, все вешается и работает.
Написал для этого скрипт, но он не работает
class air_weapon_g36_base: RifleBoltFree_Base { void AssembleGun() { if (!FindAttachmentBySlotName("red_dotg36")) { GetInventory().CreateAttachment("air_module_g36_red"); } } }
Может кто-то подсказать, где я продолбался (в скриптах я пень).
Share this post
Link to post
Share on other sites