A lightweight auto-locking script for emergency vehicles in FiveM.
AutoLock is a lightweight client-side FiveM script that automatically locks and unlocks emergency vehicles (EMS, Fire, LEO) based on player proximity. Designed for immersion and ease of use.
- 🔐 Automatically locks patrol cars when players walk away
- 🔓 Automatically unlocks when players return
- ✅ Works with emergency vehicles (Vehicle Class 18)
- 🔊 Includes sound effects and on-screen notifications
- ⚡ Optimized and simple to install
-
Download or clone the repository:
-
Place the folder in your resources directory.
Add this line to your server.cfg:
ensure AutoLock
📁 File Structure AutoLock/ ├── client.lua ├── fxmanifest.lua
join the discord https://discord.gg/sNANv4dJad