Skip to main content

Configuration

Everything is in config.lua. No other files need to be edited.

General settings

KeyDefaultDescription
Config.Locale'es'Language: 'en' or 'es'
Config.ToggleKey'U'Lock key (rebindable by the player)
Config.MaxDistance5.0Reach in metres when on foot
Config.RequireKeystrueRequire key ownership to toggle a vehicle
Config.OwnershipResource'fr_dealership'Resource exposing IsOwner(source, plate)
Config.GiveKeysOnEnterfalseAuto-give keys when entering as driver
Config.FlashLightstrueBlink indicators on lock/unlock
Config.HonktrueShort horn beep when locking
Config.PlayAnimationtrueKey-fob hand animation
Config.NotifytrueUse fr_notify for feedback

Arcade mode vs ownership mode

Arcade mode (RequireKeys = false)

Any player can lock/unlock any nearby vehicle. Simple, no friction.

Ownership mode (RequireKeys = true)

Only the owner can operate the vehicle. Use exports to manage keys from your dealership or job script.

If the ownership resource is not running, fr_carlock falls back to arcade mode automatically.