Hello! Here is the release of my first resource that I’m quite proud of! I made it to learn, so please keep in mind that it may be filled with beginner’s mistakes. Your feedback is welcome! Have fun!
No planned supports on other inventories than QB. Preview
Requirements ox_lib, qb-radialmenu, illenium-appearance(optional but recommended), qb-inventory Features :
-Clothing as Inventory Items
-Alternatives Hairstyles
Planned Features :
-Differents items by the type of clothing for better visibility
-Job Outfits to config
It appears that the logic for automatically removing an item after adding it was overlooked. However, I have addressed this issue. The solution involves commenting out the line Player.Functions.RemoveItem(item.name, 1, item.slot) in the era-outfits/server/clothing_sv. lua file and replacing it with exports.ox_inventory:RemoveItem(source, item.name, 1, item.metadata). I conducted a preliminary test on my server, and the fix is currently functioning as expected without causing issues such as costume confusion (e.g., multiple costumes becoming identical). If any problems arise, please inform me so we can work together to resolve them.