Пример #1
0
        public void WeaponOnInventory(coScriptObject thisobj, coShapeBase obj, int amount)
        {
            if (amount != 0 || !obj.isMethod("getMountSlot"))
            {
                return;
            }
            int slot = obj.getMountSlot(thisobj["image"]);

            obj.unmountImage(slot);
        }