Studios
Inventory Addonshouse-3.jpg

Troubleshooting

SoonInventory AddonsQbox
PAGE 05 OF 06  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

Every throw or knock-off says it failed#

Thrown items and knocked-off clothing are networked props created by the client. If sv_entityLockdown is strict, the server never creates them. Use relaxed or inactive.

The console says ox_inventory is a stock build#

Everything server side works. The clothing panel and the other UI panels need the redesign and the hooks in install/ox_inventory/. If you installed them, check that ox_inventory starts before glitch-inventoryAddons.

Players get a notice that something was moved out of a locked or clothing slot#

A script gave them an item while their pockets were full, and a stock AddItem put it in a locked backpack cell or a clothing slot. The slot sweep moved it back. Add the slot limits from install/ox_inventory/README.md and AddItem refuses those slots instead.

The clothing slots stay empty#

Check that the clothing items from install/items.lua exist in ox_inventory/data/items.lua and that inventory:slots is at least 62. Items are made a few seconds after login (Config.WaitForLoadedOtherScripts), once the appearance resource has loaded the skin. With requireAppearanceSave = true, raise saveWindow if your appearance resource loads slowly.

Clothes come back after a relog, or clothing shop purchases do not become items#

Both go through the appearance resource. Check Config.appearance: one of the resources in resource must be running and export getPedAppearance, and saveEvent must be the server event your appearance resource uses to save a skin.

A player wore a saved outfit and got no items for it#

Those pieces were made for that character within Config.clothingMint.remintCooldown and given away or stored since. The ped still wears them. Lower the cooldown, or set it to 0 to turn the limit off.

A player cannot take their backpack off#

The backpack slots still hold items. Drag them into the pockets first. This is on purpose so nothing is dropped.

A thrown item says "Failed to throw item" and stays in the inventory#

The server refused the landing. It landed further than Config.itemThrowing.maxThrowDistance from where it was thrown, or more than landWindow after the throw. If you raised throwForce, raise maxThrowDistance to a little over throwForce * throwForce / 9.8.

Wallet cards cannot be shown#

One of the resources in Config.wallet.idcardResource must be running, and mugshotCallback and showEvent must match that resource. Set Config.wallet.enable = false if you do not run an ID card resource.

My anticheat flags players for the snowball#

Exempt WEAPON_SNOWBALL while the server-side player state itemThrowing is true, or is a number greater than the current GetGameTimer().

Getting help#

Include the resource version, the ox_inventory version, whether the pinkfrog.io redesign is installed, and the relevant server and F8 errors in a support ticket.