Configuration
All options in config.lua.
General
| Option | Default | Description |
|---|---|---|
Config.Locale | 'de' | Language: 'de' or 'en' |
Config.Debug | false | Extra output in the server console |
Config.Notify | 'auto' | 'auto', 'ox_lib', 'okok', 'esx', 'native', 'custom' |
Config.HelpText | 'native' | "Press E" hint: 'native' or 'custom' |
Config.Keys | 'auto' | 'auto', 'wasabi_carlock', 'custom', 'none' |
Config.Cooldown | 2 | Seconds between two actions per player |
Interface
| Option | Description |
|---|---|
Config.Brand | Logo in the top left (Logo = 'img/logo.png' or an https:// URL). Without a logo, Name and Icon are shown. Icons: car, motorcycle, bike, truck, ship, sailboat, waves, helicopter, plane, logo, store, layers, gauge, zap |
Config.Theme | UI accent colors: { primary = '#ff8a1f', secondary = '#e8590c' } |
Config.Animations | false turns off all animations |
Config.Scale | UI size, e.g. 0.9 smaller, 1.1 bigger |
Config.TestDrive | Plate (plate during test drives), ShowTimer (countdown on screen), Dimension (own dimension, other players cannot see the test vehicle) |
Config.LoadDefaultIpl | Loads the vanilla PDM interior. false when you use a PDM MLO |
Config.HudToggleEvent | Client event of your HUD, called with true/false |
Config.VehicleImages | Vehicle images in the list. Url can be online (FiveM docs), an own folder (img/vehicles/%s.png) or a folder in another resource (nui://resource/path/%s.png). Fallback is tried when a picture is missing. Single vehicles: image = '...' in vehicles.lua. Without an image an icon is shown. |
Purchase
| Option | Description |
|---|---|
Config.Purchase.SpawnVehicle | true: vehicle waits at the delivery point with the player inside. false: vehicle waits in the garage. |
Config.Purchase.PaymentMethods | { 'bank', 'cash' } |
Config.Purchase.RequireLicense | Driver license required (esx_license, type drive) |
Config.Plate | Plate format, max. 8 characters |
Resale
Config.Resell: radius, percentage of the shop price and account ('bank' or 'cash'). Position and marker are set per dealer. Only the owner can sell, and only vehicles that exist in the catalog.
Was this page helpful?
