DMD Store Clothing Commands | Quick Outfit Management System | QB ESX
DMD-ClothingCommands
A professional clothing management system designed for FiveM servers with instant toggle commands for every clothing piece.
Clothing Commands provides players with quick access to their wardrobe through simple chat commands - from shirts to shoes, masks to accessories. Perfect for roleplay servers where quick outfit changes are essential.
Ideal for police departments, EMS services, gang roleplay, and any community requiring fast clothing customization.
---
FEATURES
Complete Clothing Control
- Shirt/Top toggle with gender-specific slots
- Undershirt/Tank top management
- Pants on/off functionality
- Shoes removal system
- Chain/Necklace accessories
- Vest management
- Bag/Backpack control
- Mask toggle
- Hair reset function
Female-Specific Options
- Bra toggle system (on/off states)
- Panties management (configured slots)
- Feminine clothing optimizations
- Gender-aware slot detection
Technical Implementation
- Automatic gender detection
- Server-client synchronization
- Configurable clothing slots
- Lightweight performance
- No dependencies required
- Escrow protected (config editable)
---
COMMANDS
Basic Clothing Commands
/shirt - Toggles shirt/top clothing
• Males: Torso 15, Shirt 15
• Females: Torso 0, Shirt 2
/undershirt - Toggles undershirt/tank top
• Males: Slot 15
• Females: Slot 2
/pants - Toggles pants on/off
• Males: Slot 14
• Females: Slot 303
/shoes - Removes or wears shoes
• Males: Slot 34
• Females: Slot 35
/chain - Toggles chain/necklace
• Males: Slot 3
• Females: Slot 252
/vest - Wears or removes vest
• Both genders: Slot 0
/bags - Toggles bag/backpack
• Both genders: Slot 0
/mask - Puts on or removes mask
• Both genders: Slot 0
/hair - Resets hair to default
• Both genders: Slot 0
Female-Only Commands
/bra - Toggles bra on/off
/bra on - Wears bra (Slot 818)
/bra off - Removes bra (Slot 0)
/panties - Toggles underwear
/panties on - Wears underwear (Slot 15)
/panties off - Removes underwear (Slot 303)
---
CONFIGURATION
Basic Structure
Config = {}
Shirt Configuration
Config.Shirt = {
Male = {
Torso = 15,
Shirt = 15
},
Female = {
Torso = 0,
Shirt = 2
}
}
Undershirt Settings
Config.Undershirt = {
Male = 15,
Female = 2
}
Bra Configuration (Female Only)
Config.Bra = {
Off = 0, -- Topless state
On = 818 -- Bra equipped
}
Panties Configuration (Female Only)
Config.Panties = {
Off = 303, -- Removed state
On = 15 -- Equipped state
}
Pants Settings
Config.Pants = {
Male = 14,
Female = 303
}
Shoes Settings
Config.Shoes = {
Male = 34,
Female = 35
}
Chain/Necklace Settings
Config.Chain = {
Male = 3,
Female = 252
}
Other Clothing Items
Config.Decals = { Male = 0, Female = 0 }
Config.Vest = { Male = 0, Female = 0 }
Config.Bags = { Male = 0, Female = 0 }
Config.Mask = { Male = 0, Female = 0 }
Config.Hair = { Male = 0, Female = 0 }
---
CUSTOMIZATION
Adding Custom Clothing Slots
1. Edit config.lua
2. Add new clothing category:
Config.Gloves = {
Male = 0,
Female = 0
}
3. Edit client/client.lua
4. Add command registration:
RegisterCommand("gloves", function()
local ped = PlayerPedId()
local gender = IsPedMale(ped) and "Male" or "Female"
SetPedComponentVariation(ped, 3, Config.Gloves[gender], 0, 0)
end)
5. Restart resource
Finding Slot Values
Method 1: In-Game Testing
- Use /outfit or clothing menu
- Equip desired item
- Note down the component ID
- Check F8 console for values
Method 2: Developer Console
GetEntityModel(PlayerPedId()) -- Get player model
GetPedDrawableVariation(PlayerPedId(), slotID) -- Check slot value
Method 3: GTA V Clothing Editor
- Use FiveM clothing editor tools
- Browse component variations
- Export slot configurations
---
COMPATIBILITY
- Frameworks: Standalone, ESX, QBCore, QBX
- Clothing Systems: All native GTA V components
- Character Creators: esx_skin, qb-clothing, fivem-appearance
- Other Scripts: Works alongside any outfit saving system
---
INSTALLATION
1. Extract "dmd-clothingcommands" to resources folder
2. Add to server.cfg:
ensure dmd-clothingcommands
3. Configure config.lua slot values for your server
4. Restart server or refresh resources
5. Test commands in-game
---
TROUBLESHOOTING
Commands Not Working
- Check server.cfg has "ensure dmd-clothingcommands"
- Verify resource started successfully in console
- Check F8 for any Lua errors
- Confirm slot values are correct in config
Wrong Clothing Appears
- Verify Male/Female values match your character models
- Test slot IDs in clothing menu first
- Check character creator compatibility
- Ensure proper component variations
Female Commands on Male Character
- /bra and /panties are gender-locked
- Script detects IsPedMale() automatically
- Configure alternate commands if needed
---
PERFORMANCE
- Resmon: ~0.00ms idle
- Memory: ~0.1MB
- FPS Impact: None
- Threads: Event-based (no loops)
- Optimization: Cached player ped references
---
SECURITY
Protected Features:
- Server-side command validation
- Client-side gender verification
- Escrow protection (client/server files)
- Open config for customization
---
FAQ
Q: Can I add more commands?
A: Yes, edit client.lua and add new RegisterCommand blocks
Q: Do commands work in vehicles?
A: Yes, all commands function while in vehicles
Q: Can I disable specific commands?
A: Comment out the RegisterCommand section in client.lua
Q: Is this compatible with custom clothing packs?
A: Yes, just configure correct slot values in config
Q: Can I change command names?
A: Yes, edit RegisterCommand("commandname") in client.lua
---
DMD Store - Professional FiveM Resources