Vehiclelock

Vehiclelock

This item is free.

Add to Basket

Advanced Vehicle Lock & Engine System

by dev5-services

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔥 Why dev5_vehiclelock?

A modern, lightweight and stable vehicle lock & engine system
built for serious FiveM roleplay servers.

✔ Clean
✔ Optimized
✔ Framework Auto-Detection
✔ Realistic behavior
✔ OneSync safe

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🧠 Automatic Framework Detection

Works out of the box with:

🟢 ESX (es_extended)
🔵 QBCore
🟣 QBX / Qbox

Database detection is automatic:

• ESX → owned_vehicles
• QB / QBX → player_vehicles

No manual switching required.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🔒 Vehicle Lock System

🔑 Lock / Unlock with hotkey (default: U)
🚘 Key fob animation
💡 Indicator flash
🔊 Lock / unlock sound
🚪 Smooth door closing (no snapping)
📛 Plate check ignores spaces (ABC 123 = ABC123)
🌍 Optional: lock for all players

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚙️ Engine System

🔧 Engine toggle (default: M)
🚗 Engine stays running after exit (optional)
🛑 Auto-stop engine on exit (optional)
▶ Auto-start engine on enter (optional)
⛔ Engine stays OFF even when pressing gas (optional)

Fully configurable in config.lua

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🛡 Advanced Options

🔐 Trap inside vehicle when locked (optional)
🚫 Lock parked NPC vehicles (optional)
🧩 Lightweight loops & clean networking
🗄 Server-side ownership validation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Installation

1️⃣ Upload dev5_vehiclelock to your resources folder
2️⃣ Add to server.cfg:

ensure oxmysql
ensure dev5_vehiclelock
ensure es_extended OR qb-core

3️⃣ Restart your server

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

⚡ Performance & Stability

✔ No unnecessary global entity manipulation
✔ Safe for OneSync
✔ Stable engine keep-running system
✔ Clean database queries
✔ No color-coded notification spam

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📞 Support

dev5-services
Custom development available on request.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔒 Protected with FiveM Escrow – This script is secured using the FiveM Escrow system to ensure integrity and prevent unauthorized modifications.