This script is designed to automatically disable the sirens of an LEO vehicle and also automatically lock the door.
If the vehicle has sirens and lights on, and if the officer exits the vehicle, it will stop the sirens keeping the lights on automatically and also lock the door. This can help prevent the vehicle from being stolen, or any FRP occuring.
If using vMenu lock, ensure to set the vehicle to your personal vehicle in order to ensure you do not get locked out. In the future, there will be updates adding our own custom vehicle lock script integrated into this to be more efficient.
Features:
Automated Locking
Automated Sirens
Installation:
Move resource into your server resources folder
Paste the following into your server.cfg start SD-Automated-LEO-and-Locking
Download:
Click here to be redirected to the download page. If not working, click link below:
Works good, just gonna say it again, everyone may need to edit the locking function to what qb-vehiclekeys uses or you won’t be able to unlock the vehicle after getting out. You can also just grab the whole code in client.lua from this resource and place it into qb-smallresources client/whatever.lua file you chose.
This doesn’t replace the actual script. It’s an addon script that just makes it so if you step out of the vehicle, it turns off the sirens automatically for you. If this doesn’t answer your question, feel free to elaborate more and I can try my best to answer
Can you explain? I"m not sure if I’m getting your question. If you actually do mean horn sounds, that’s classic GTA. Just use VMenu and modify your car or any other menu to do so.
I love the idea of this, with the locking you should make it so once you get back within a certain configurable radius of the vehicle it will automatically unlock!