Hey everyone! I’m back and this time with a utility script:
Keyless Entry for QBCore
Auto Lock & Unlock Distance Based.
I’ve put together something small but packed with immersive feeling. This is a script that automatically 🔒Locks
your car when you walk away and 🔓Unlocks
it when you get close.
Just like a real keyless entry system! Your car will even flash its lights and play a distinguishable locking sound to let you know it’s secure.
How To Use It?
- Simple command to Activate or Deactivate
/autolock
and voilà
What Does It Do?
-
Auto-Lock: When you walk away from your vehicle, it automatically locks itself.
-
The lights flash, and you hear a satisfying lock sound for that immersive touch!
-
Auto-Unlock: As you approach your car, it unlocks automatically
🎮No Buttons Needed
!
-
Smart Lock: If there is a player in the car, it wait until the car is empty before locking.
-
Configurable Lock/Unlock Distance: Adjust the range to make it work just right for your server setup.
-
Seamless
qb-vehiclekeys
Integration
How to Install
Download the script from the GitHub link below.
Drag and drop it into your resources folder.
Add
ensure tcz-autolock
to your server.cfg.Start your server and enjoy Seamless Keyless Entry!
And That’s It!
No over-the-top customization, just clean and effective feature to make your vehicles smarter and your server cooler.
Code is accessible | Yes |
Lines (approximately) | ~103 |
Requirements & dependencies | qb-vehiclekeys |
Support | No |