π zrx_carlock β Advanced Vehicle Lock System
An advanced, secure and fully configurable vehicle lock system for FiveM (ESX).
Perfect for serious roleplay servers looking for a realistic, optimized and exploit-protected vehicle key & locking system.
π Features
- π Lock / Unlock vehicles via command or keybind
- π‘ Indicator lights blink on lock/unlock
- β¨ Vehicle outline highlight
- π Sound feedback support
- πͺ AutoLock on Exit
- ποΈ AutoLock on Speed
- π Vehicle key ownership system
- π₯ Give keys to nearby players
- πΌ Job based system
- π Seat shuffle support
- π§ StateBag synchronized lock states
- π‘οΈ Plate-spoof protection
- π Server-side validation & exploit protection
- βοΈ Fully configurable
- π’ Custom notification support
- π Debug logging system
π¦ Requirements
- ox_lib
- oxmysql
- es_extended
βοΈ Installation
- Download the resource
- Place
zrx_carlockinto yourresourcesfolder - Add this to your
server.cfg
ensure zrx_carlock
- Edit
configuration/config.lua
β¨οΈ Commands & Keybinds
| Command | Default Key | Description |
|---|---|---|
| /carlock | U | Lock / Unlock nearest vehicle |
| /toggleengine | M | Toggle vehicle engine |
| /givekey | - | Give vehicle key |
| /shuff | J | Shuffle vehicle seat |
All keybinds use RegisterKeyMapping and can be rebound inside GTA V settings.
π€ Exports
Client
exports['zrx_carlock']:AddKey(data) exports['zrx_carlock']:RemoveKey(data) exports['zrx_carlock']:HasKey(data)
Server
exports['zrx_carlock']:SetState(action, data) exports['zrx_carlock']:AddKey(player, data) exports['zrx_carlock']:RemoveKey(player, data)
β‘ Performance
- Optimized for low resource usage
- 0.0ms idle usage
- Fully synchronized
- Secure event handling
- Production-ready
π οΈ Support
Need help or found a bug?
Discord: https://discord.gg/mcN25FJ33K