2017 {
2018 if (
g_Game.IsMultiplayer() )
2020 else
2022 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native GameInventory GetInventory()
bool TakeEntityAsTargetAttachmentEx(InventoryMode mode, notnull EntityAI target, notnull EntityAI item, int slot)
put item as attachment of target