Hello, I can’t deposit/withdraw Items in my property-Inventory, I also own a testserver on which it works on. Does anyone know how to fix this? Thank you very much for any help.
Kind regards, Nico
Hello, I can’t deposit/withdraw Items in my property-Inventory, I also own a testserver on which it works on. Does anyone know how to fix this? Thank you very much for any help.
Kind regards, Nico
which property script are you using
which inventory system are you using?
Hey,
thanks for your reply.
I use the default esx_property and esx_inventoryhud/esx_inventoryhud_trunk
yeah those two are definitely usually linked.
does the function not work in game?
or does it work in game but not save?
honestly if you have a working function on your test server.
I would just copy the files and replace the property script on your main server. and see if it works.
you definitely do not need to touch your inventory.
Hey, I do have the same scripts on my Test Server and I already copied:
esx_addoninventory
esx_addonaccount
esx_property
esx_datastore
to my main Server and it still didn’t work, but I could try to copy the Inventory script from my Test to my Main, thanks
honestly i have had a lot of experience with esx_property and went through some of the same problems you have in the past.
lets try putting in your test servers inventory and see if that does the trick.
have you been tweaking the inventory system of yours by any chance recently?
because honestly the two scripts co-exist and have no issue working. Usually though, if you try and get a new inventory system in place it can mess it up because the property script could still be calling for the old one.
i have the same thing i can’t depot/withdraw items have a error i hope someone can help me
[script:esx_addoninve] SCRIPT ERROR: @esx_addoninventory/server/main.lua:71: attempt to get length of a nil value (field ‘?’)
[script:esx_addoninve] ] GetInventory (@esx_addoninventory/server/main.lua:71)
[script:esx_addoninve] ] handler (@esx_addoninventory/server/main.lua:83)
[script:esx_addoninve] ] handler (@esx_property/server/main.lua:279)
Did you import sql file from your property script to the database?
yea but still nothing idk what im doing wrong
Check datastore
table in thata base, do you have there record property
with shared
set to 0
?