Config
All Prism Scripts contain various editable and unobscured files containing, exports, client
and server functions, configuration methods and more.
and server functions, configuration methods and more.
config.lua
Config = {}
-- Debug Mode
Config.Debug = false
Config.Framework = 'qbx' -- qbx, qb, esx
Config.Appearance = 'illenium-appearance' -- 'fivem-appearance', 'illenium-appearance', 'qb-clothing', 'skinchanger', 'crm-appearance', 'bl_appearance', 'tgiann-clothing', 'rcore_clothing', 'dx_clothing', 'karma_clothing'
Config.Interaction = 'ox_target' -- 'ox_target', 'qb-target'
Config.EnablePickup = true
Config.Bag = {
model = 'prop_cs_heist_bag_02', -- The model of the outfit bag
placementRange = 50.0, -- The range in which players can place the outfit bag
interactionRange = 2.5, -- The range in which players can interact with the outfit bag
autoCleanupEnabled = true, -- Whether or not to automatically clean up old outfit bags
autoCleanupMinutes = 60, -- The interval in minutes at which to clean up old outfit bags
}
Config.Command = {
enabled = true, -- Whether or not to enable the /outfitbag command
command = 'outfitbag', -- The command used to open the outfit bag menu
}
Config.Inventory = {
enabled = true, -- Whether or not to use an inventory system for outfit bags
bagItem = 'outfit_bag', -- The item name used to represent outfit bags in the inventory system
}
-- Default clothing values when toggling off (removing) clothing
-- Set drawable and texture to what the player should look like when item is "removed"
Config.ClothingDefaults = {
male = {
[1] = { drawable = 0, texture = 0 }, -- Mask
[4] = { drawable = 61, texture = 0 }, -- Pants
[6] = { drawable = 34, texture = 0 }, -- Shoes
[11] = { drawable = 15, texture = 0 }, -- Jacket
},
female = {
[1] = { drawable = 0, texture = 0 }, -- Mask
[4] = { drawable = 14, texture = 0 }, -- Pants
[6] = { drawable = 35, texture = 0 }, -- Shoes
[11] = { drawable = 15, texture = 0 }, -- Jacket
}
}
Config Options Explained
Framework
Set your serverโs framework. Supported values:
'qbx'โ QBX Core (new QBCore)'qb'โ QBCore'esx'โ ESX Legacy
Appearance System
Set the appearance system your server uses. Supported values:
| Value | System |
|---|---|
'fivem-appearance' | fivem-appearance |
'illenium-appearance' | illenium-appearance |
'qb-clothing' | qb-clothing |
'skinchanger' | skinchanger |
'crm-appearance' | crm-appearance |
'bl_appearance' | bl_appearance |
'tgiann-clothing' | tgiann-clothing |
'rcore_clothing' | rcore_clothing |
'dx_clothing' | dx_clothing |
'karma_clothing' | karma_clothing |
Interaction System
Choose between targeting systems:
'ox_target'โ OX Target'qb-target'โ QB Target
Bag Settings
- model โ The 3D prop model used for the placed bag
- placementRange โ Maximum distance a player can place a bag from their position
- interactionRange โ Distance at which a player can interact with a placed bag
- autoCleanupEnabled โ Automatically remove placed bags after a set time
- autoCleanupMinutes โ Time in minutes before bags are cleaned up
Clothing Defaults
These define the default drawable/texture values applied when a player toggles off a clothing item. Customize these per gender to match your serverโs default ped appearance.
| Component Index | Clothing Slot |
|---|---|
[1] | Mask |
[4] | Pants |
[6] | Shoes |
[11] | Jacket |
Last updated on