[FREE] era-outfits - Inventory Clothing and Alternatives Hairstyles | QB-Core

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

Download (Github) install instructions in the readme.md

9 Likes

Any way to get the code for esx?

era-outfits is made with a strong dependency on qb-inventory and his ItemData, sorry ! Maybe try Metaclothes from Malibu ?

work with ox inv?

1 Like

Hello if u still want it i convert it to ox_inventory :slight_smile:

did your fork it ?

i am new on github i dont realy understand how to fork it but i post on my git and give all credits to era!

Oh i finaly figure out how to do a fork XD

2 Likes

I am trying to make it work with Qbox. can help me ? i only have a problem with tshirts / tops. nice script :slight_smile:

Thank you for forking it for ox_inventory this helped a ton!

1 Like

also having an issue with tops not saving, outfits work fine, just individual tops seem to not save when being put on.

1 Like

i will be looking into it

hello its just to let you know i fixed the probleme and i add a new release on my github :slight_smile:

2 Likes

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.