#Item Storage System for Unturned Plugin
24 messages · Page 1 of 1 (latest)
I'll try it now
just create a fake 'storage' window, send it to them and then save that data and load
pretty much a vault plugin if that's what u are going for
plenty of them open source'd to take example from
I did as you said, but I ran into this
I understood correctly, something like this should happen.
I'm having problems downloading loot back later, at the moment my plugin opens a container window, the contents of which are saved as a json file, but the problem arises with opening the mailbox after saving, almost the same thing happens as in the screenshot above
Why do u change the rotation??
If u try add
It’ll be in the storage if there is enough space for it
Also i’d advise u to use a db
I understood what the problem was, thanks a lot, everything worked, I didn't need to save the rotation.
Yup i have no clue why u used to
U only need to create a model for items
Be careful to store the metadata for guns and create the item with the ctor that have metadata parmeter its what stores the ammo, attachements etc
Thanks for telling me, I'll check it out now.
As I have determined, the condition of the weapon is now also preserved.
The question is, what about the fact that loot may not find a place to place?
Maybe resize the storage if it return false
Depend on what u are doing