Unlock the full potential of the Clothing script by fine-tuning its options in config.lua
.
config.lua
Deep Diveconfig.lua
file, typically found in resources/rs_clothing/config.lua
. This guide will walk you through configuring every aspect to tailor the script perfectly to your server’s needs.
ESX Framework Integration
General Settings
Config.Dimension = true
creates a better user experience by isolating players while they change clothes, but requires OneSync Infinity to be enabled on your server.Notification System & Localization
Config.Notification
function with the appropriate event trigger for your system.Clothing Store Locations
/coords
command in-game if you have an admin resource installed, or use an online FiveM coordinate finder tool.Clothing Categories & Pricing
arms
, tshirt_1
, torso_1
, pants_1
, shoes_1
, bags_1
, chain_1
, helmet_1
, glasses_1
, watches_1
, bracelets_1
, mask_1
, ears_1
, etc.Each category corresponds to a specific clothing component in the game. The item IDs (drawable IDs) must be valid for that component.DrawDistance
in Config.Locations
to balance visibility and resource load.GiveOutfitOwnerMoney
, GiveBuyClothingMoney
) to create dynamic revenue streams for player-run businesses or server funds.AccesableFor
in Config.Categories
to restrict item purchases to certain groups.