LikeManTV / clothing

A clothing system for FiveM.
GNU General Public License v3.0
24 stars 6 forks source link
clothes clothing esx fivem game gtav qb qbcore script

CLOTHING

GitHub release GitHub license Discord Status

The system allows for easy management of clothing using items, enabling players to store and organize their acquired pieces of clothing for quick access and outfit changes. It ensures that players have a convenient way of changing and combining their clothes within the game.

Please report any problems by creating a new issue or join the Discord server.
Also feel free to make a PR.

🔥 Features

⏰ Planned Features

🛠️ Dependencies

📲 Installation

  1. Download latest release or source code
  2. Extract the .zip file
  3. Copy the folder to your server resources folder
  4. Add ensure clothing to your server.cfg
  5. Restart the server

📌 Required Items

['clothes'] = {
    label = 'Clothes',
    weight = 100,
    stack = false,
    allowArmed = false,
    client = {
        export = 'clothing.clothes'
    },
    buttons = {
        {
            label = 'Tear',
            action = function(slot)
                TriggerServerEvent('clothing:sv:tearClothes', slot)
            end
        }
    }
},

['outfit'] = {
    label = 'Outfit',
    stack = false,
    client = {
        export = 'clothing.clothes'
    },
    buttons = {
        {
            label = 'Rename',
            action = function(slot)
                TriggerServerEvent('clothing:sv:renameOutfit', slot)
            end
        },
        {
            label = 'Tear',
            action = function(slot)
                TriggerServerEvent('clothing:sv:tearClothes', slot)
            end
        }
    }
},

📝 Exports (client)

📝 Exports (server)