Skip to content

General Settings

All configuration lives in config.lua at the root of the resource. This file is in escrow_ignore — you can edit it freely.

Debug mode

lua
Config.debugMode = {
    enabled = false
}
OptionPurposeDefault
enabledEnables verbose [rc_extra_seats] audit/debug print output server-sidefalse

TIP

Debug mode only controls logging verbosity. Editor access is gated separately by ACE permissions (see Seat Editor — Access requirements). Leave this false in production for clean console output; flip it true temporarily if you need to trace claim/release activity.

Targeting system

lua
Config.target = {
    enabled    = true,
    system     = 'ox_target',
    updateTime = 7500
}
OptionPurposeDefault
enabledUse a targeting system for sit/stand interaction instead of the keypress prompttrue
systemWhich targeting resource to use. Accepted values: 'ox_target', 'qb-target', 'qtarget''ox_target'
updateTimeMilliseconds between target-option refreshes on nearby vehicles. Lower values use more CPU7500

When enabled = false, the script uses a proximity keybind ("Press E to sit") with a GTA help-text prompt. No targeting resource is needed in that mode.

Door lock gate

lua
Config.doorLock = {
    enabled = true
}
OptionPurposeDefault
enabledWhen true, players cannot interact with a seat on a locked vehicletrue

TIP

The vehicle lock check uses door lock status 0 or 1 (unlocked). Status 2+ (locked) blocks the prompt. If you want seats always available regardless of lock state, set this to false.

Performance mode

lua
Config.performanceMode = {
    enabled = true
}
OptionPurposeDefault
enabledWhen true, the attachment loop runs at a reduced tick rate. When false, ticks more frequently for smoother aiming animationstrue

Leave this true unless players report choppy aim animations while seated.

Collision eject

lua
Config.accelerationThreshold = 35.0
Config.enableVelocity         = true
OptionPurposeDefault
accelerationThresholdSpeed delta (km/h) between consecutive ticks that triggers a seat eject. Lower = easier to get thrown35.0
enableVelocityWhether collision-based ejection is active at alltrue

When the vehicle decelerates sharply (crash) or flips upside down, seated players are detached and ragdolled. Set enableVelocity = false to disable this entirely.

Robicore