Your clothing shop addon for FiveM.
- Works with the FX Version
- Load skin and clothes on spawn/death
- Fast loading
- Buy new clothes
- Blips on the map
- Marker in shops
- Multi-language support (US/FR)
- Elegant menu
- Try clothes before to buy them
- Notifications on buying
- A lot of accessories
- Choice of the gender
- Legacy function (in tribute of skin_customization) for a compatibility with old mods like FiveM_Cops
$ git clone https://github.com/xchopin/FiveM-Clothes.git
$ mysql> ./clothing_shop_SQL.sql
$ cp Server/settings.lua.dist settings.lua
- In a special menu, press right or left arrow to change the texture
- Press Enter or 'A' (Xbox) to save your choice (it will save in the database)
Component | Part | Prop | Part |
---|---|---|---|
Face | 0 | Hats | 0 |
Mask | 1 | Glasses | 1 |
Hair | 2 | Ears | 2 |
Gloves | 3 | ||
Pants | 4 | ||
Bags | 5 | ||
Shoes | 6 | ||
Shirts | 8 | ||
Vests | 9 | ||
Jackets | 11 |
-- Give the client'skin model (gives the value from the DB)
clothing_shop:GetSkin_server
-- Updates the DBMS
-- @param item.collection: skin or prop or component
-- @param item.id (check the table), not required if collection == skin
-- @param item.value
-- @param item.texture_value can be empty if collection == skin
clothing_shop:SaveItem_server({item.collection, item.id}, {values.value, values.texture_value})
-- Change the gender, might change the name of this one lol
-- @param skin: must be "mp_m_freemode_01" or "mp_m_freemode_01"
clothing_shop:getSkin_client(skin)
-- Set all the items on a player
-- @param items: JSON format, it requires all the component elements
clothing_shop:loadItems_client(items)
- @xchopin
- @TheBritishBrotherhood