QBcore [QBCore] TCZ-AutoLock red_car:key:Keyless Entry AutoLock & Unlock Distance Based.

SaifNeon

SaifNeon

Administrative
Credits
40,440
Hey everyone! I’m back and this time with a utility script:

:red_car:
Keyless Entry for QBCore Auto Lock & Unlock Distance Based.


Please, Log in or Register to view quote content!
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à
    activated
:question:
What Does It Do?

  • :lock:
    Auto-Lock: When you walk away from your vehicle, it automatically locks itself.
    locked
  • :rotating_light:
    The lights flash, and you hear a satisfying lock sound for that immersive touch!
    Please, Log in or Register to view URLs content!


  • Auto-Unlock: As you approach your car, it unlocks automatically 🎮No Buttons Needed!
    unlocked
  • :triangular_flag_on_post:
    Smart Lock: If there is a player in the car, it wait until the car is empty before locking.
  • :screwdriver:
    Configurable Lock/Unlock Distance: Adjust the range to make it work just right for your server setup.
    Please, Log in or Register to view URLs content!


  • :old_key:
    Seamless qb-vehiclekeys Integration

How to Install

  • :arrow_down:
    Download the script from the GitHub link below.
  • :open_file_folder:
    Drag and drop it into your resources folder.
  • :desktop_computer:
    Add ensure tcz-autolock to your server.cfg.
  • :cyclone:
    Start your server and enjoy Seamless Keyless Entry!
    :red_car:
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 accessibleYes
Lines (approximately)~103
Requirements & dependenciesqb-vehiclekeys
SupportNo

Please, Log in or Register to view URLs content!
 
Back
Top