Configuration

Configuration

All configuration files are in script/shared/config/:

FilePurpose
main.luaCore settings (max characters, accent color, delete toggle, etc.)
locations.luaInterior locations, seat positions, camera settings
animations.luaSitting animations and ghost ped clothing

Main Config (main.lua)

return {
  framework = 'auto',              -- 'auto', 'esx', 'qbcore', 'qbox', 'ox_core'
  maxCharacters = 5,               -- max character slots (1-5)
  appearanceResource = 'auto',     -- 'auto' or specific resource name
  enableDelete = true,             -- allow character deletion
  deleteConfirmText = 'DELETE',    -- text user must type to confirm deletion
  accentColor = '#f0fb29',         -- UI accent color (hex)
  debugHitboxes = false,           -- show seat hitbox outlines for tuning
  defaultSpawn = vector4(-269.4459, -955.3174, 31.2231, 203.7947),
  defaultMaleModel = `mp_m_freemode_01`,
  defaultFemaleModel = `mp_f_freemode_01`,
  ghostAlpha = 100,                -- transparency of unselected character peds (0-255)
}
SettingDefaultDescription
framework'auto'Framework to use — auto-detects if set to 'auto'
maxCharacters5Maximum character slots (1–5)
appearanceResource'auto'Appearance resource — auto-detects if set to 'auto'
enableDeletetrueAllow character deletion
deleteConfirmText'DELETE'Text the player must type to confirm deletion
accentColor'#f0fb29'UI accent color (hex color)
debugHitboxesfalseShow seat hitbox outlines for position tuning
defaultSpawnvector4Default spawn coordinates after character select
defaultMaleModelmp_m_freemode_01Default male ped model
defaultFemaleModelmp_f_freemode_01Default female ped model
ghostAlpha100Transparency of unselected character peds (0–255)

Multiple Locations

Add additional entries to config/locations.lua for random location selection on join. Each location can specify a gamebuild requirement — locations requiring a higher gamebuild than the client's will be skipped.