Clothing As Item — Common Errors & FAQ
Have a question or encounter an issue while running fs_clothingitem? Check the common questions and error solutions below.
❓ Q: "Attempt to index a nil value (field 'FWB')" error on server start?
Cause
This error occurs because fs_bridge is missing, not started, or not running on your server before fs_clothingitem initializes.
Solution
- Ensure
fs_bridgeis installed in yourresources/[fs]/folder alongsidefs_clothingitem. - In your
server.cfg, ensureox_liband[fs]category folder in proper order:luaensure ox_lib -- make sure to ensure all resources above this to make it work properly ensure [fs] -- ensure it as last resource - Update
fs_bridgeto the latest version.
❓ Q: Clothing items are removed from inventory but outfit does not load on player?
Cause
If running QBCore, qb-clothing is missing the qb-clothing:client:loadOutfit event handler or qb-inventory is missing the onRemoveInventoryItem event trigger.
Solution
- Open
docs/resources/clothing-as-item/installation. - Follow QBCore Framework Modifications and add
TriggerEvent('qb-core:onRemoveInventoryItem', ...)into yourqb-inventory/server/main.lua. - Add the
qb-clothing:client:loadOutfitandqb-clothing:getSkinevent handlers to the bottom ofqb-clothing/client/main.lua. - Restart your server.
❓ Q: Robbery commands (/robchain, /robhat, /robmask) say target player must have hands up?
Cause
target_handsup = true is set in config.RobCommands for that clothing slot, and the target player is not performing a hands-up animation or cuffed.
Solution
- Tell the target player to raise their hands (or cuff them).
- Alternatively, open
fs_clothingitem/config/config.luaand settarget_handsup = falsefor that clothing slot to allow robbing without hands up.
💬 Need More Help?
If your issue or question isn't listed here, feel free to open a ticket in our official Discord community:
