The script loads up fine but you cant open the inventory and the shops dont exist but when you restart it this error message appears
SCRIPT ERROR: @ox_inventory/modules/bridge/esx/server.lua:56: attempt to call a nil value (field ‘syncInventory’)
this is the line in server.lua
52 —@diagnostic disable-next-line: duplicate-set-field
51 function server.syncInventory(inv)
52 local accounts = Inventory.GetAccountItemCounts(inv)
53
54 if accounts then
55 local player = server.GetPlayerFromId(inv.id)
56 player.syncInventory(inv.weight, inv.maxWeight, inv.items, accounts)
57 end
58 end
I tried everything and i even deleted the whole server and and started from scratch still dousnt work