Returns if item can be added as attachment on specific slot. Note that slot index IS NOT slot ID! Slot ID is defined in DZ/data/config.cpp.
См. определение в файле EntityAI.c строка 1960
1961 {
1962 if (
GetGame().IsMultiplayer() )
1964 else
1966 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native GameInventory GetInventory()
bool TakeEntityAsAttachmentEx(InventoryMode mode, notnull EntityAI item, int slot)
proto native CGame GetGame()
Перекрестные ссылки EntityAI(), GetGame() и GetInventory().