Jump to content

IsInventoryTransferAction issue on server?


Snakeman

Recommended Posts

well, i making a timed action to remove a item from o.container and add another... this works good on single player and even in server... but when i transfer that item to my inventory (Server Side)... item is transfer and then dissapear of my inventory.
The only thing that works is first: transfer the item to the floor and then transfer to my inventory.

There is the code to remove all items from that container and adding the item that want when i do the timed action.

self.object:getContainer():removeAllItems();
self.object:getContainer():AddItem("DZM.bbe");

There is a problem with IsInventoryTransferAction on server? Because i have the same issue if on a scriptfile, there is a line called ReplaceOnCooked. Need the same thing to work (Transfer that item to the floor and next from floor to my inventory)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...