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