Wardrobe and clothing toggle system for RedM using RSG Core and RSG Appearance.
Allows players to remove or equip specific clothing parts using simple commands.
Fully integrated with RSG Appearance and RSG Core.
- rsg-core (framework)
- rsg-appearance (character clothing system)
- ox_lib (notifications, locales)
Locales included: en, fr, es, it, pt-br, el, ro
License: GPL‑3.0
- 👕 Individual clothing control: players can toggle or remove specific outfit parts.
- 🧳 Works with RSG Appearance: modifies current outfit without resetting ped.
- 🌍 Multi-language via
lib.locale().
List of clothing components that the script can toggle. Each entry contains:
name— command/key name (e.g.,hat,boots,vest,closedcoats,leftholster,jewelry_rings_left, etc.)comps— the appearance component name used by RSG Appearancedata— the player skin field the script reads/writes (e.g.,currentHat,currentBoots, ...)hash— numeric identifier for the component
Config.ClothingComponents = {
{ name = 'accessories', comps = 'accessories', data = 'currentAccessories', hash = 2044190614 },
{ name = 'armor', comps = 'armor', data = 'currentArmor', hash = 1927737204 },
{ name = 'belts', comps = 'belts', data = 'currentBelts', hash = 2798728390 },
{ name = 'boots', comps = 'boots', data = 'currentBoots', hash = 2004797167 },
{ name = 'buckles', comps = 'belt_buckles',data = 'currentBuckles', hash = 4209578111 },
-- ... (see full list in config.lua including coats, closedcoats, eyewear, gloves, poncho, vest, sleeve, chaps, mask,
-- neckwear, gauntlets, necktie, suspenders, satchels, gunbelt, buckles, skirts, hairaccessories, leftring, rightring, leftholster, collar, etc.)
}Mapping table used by the script when interacting with skin/colour indices. Each row contains:
body— body region indexcolour— colour slotindex— resulting index value
Config.SkinColours = {
{ body = 1, colour = 1, index = 7 },
{ body = 1, colour = 2, index = 10 },
{ body = 1, colour = 3, index = 9 },
-- ...
}Each command toggles or removes the corresponding clothing element:
/undress, /hat, /shirt, /pants, /boots, /coat, /closedcoat, /gloves, /poncho, /vest, /sleeve, /eyewear, /belts, /cloak, /chaps, /mask, /neckwear, /accessories, /gauntlets, /necktie, /loadouts, /suspenders, /satchels, /gunbelt, /buckles, /skirts, /armor, /hairaccessories, /leftring, /rightring, /leftholster, /collar
- Reads player skin data from the
playerskinstable viacitizenid. - Updates are applied through RSG Appearance component fields referenced in
Config.ClothingComponents.
- Add
rsg-wardrobetoresources/[rsg]. - Ensure
rsg-coreandrsg-appearanceare installed. - In your
server.cfg:ensure ox_lib ensure rsg-core ensure rsg-appearance ensure rsg-wardrobe
- Restart your server.
- AdlanDzulkfali — original resource & permission to use code
🔗 https://github.com/AdlanDzulkfali/addz_qr_clothing - RSG / Rexshack-RedM — framework integration & localization support
- Community translator
- License: GPL‑3.0