Configuration
Everything is in config.lua. No other files need to be edited.
General settings
| Key | Default | Description |
|---|---|---|
Config.Locale | 'es' | Language: 'en' or 'es' |
Config.ToggleKey | 'U' | Lock key (rebindable by the player) |
Config.MaxDistance | 5.0 | Reach in metres when on foot |
Config.RequireKeys | true | Require key ownership to toggle a vehicle |
Config.OwnershipResource | 'fr_dealership' | Resource exposing IsOwner(source, plate) |
Config.GiveKeysOnEnter | false | Auto-give keys when entering as driver |
Config.FlashLights | true | Blink indicators on lock/unlock |
Config.Honk | true | Short horn beep when locking |
Config.PlayAnimation | true | Key-fob hand animation |
Config.Notify | true | Use 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.