REQUIREMENTS
– ScriptHookV
– ScriptHookVDotNet
– A mod that makes car persistent.
OTHER MODS
You will need a mod that makes car persistent, if you don’t have one install one of these:
– Simple Trainer
– Remote Vehicle Control
DESCRIPTION
This mod make the player lock and unlock car automatically and without touching a button.
Features:
– Lock car when exiting it,
– Unlock car when trying to enter it (when you want to get in it),
– Lock and unlock only owned vehicles (the script will consider a vehicle owned by the player if it is persistent (doesn’t despawn) and was already driven by the player),
– Lock when canceled entering vehicle,
– Lock only if all car doors are closed,
– Lights on when unlocking (neon lights on when unlocking if it is installed in the car),
– Interrior lights when unlocking,
– No horn sound (silent),
– Up to 5 cars.
INSTALLATION
Put “AutomaticLockUnlock.dll” in “scripts” folder.
Credits:
Mehdi Zoubai
– Alexander Blade,
– Community.