skylifereik
Member
need this linkDelivered as promised, free Vehicle lockpicking script with some animations and other additions.Hello VAG Forum Family
Yet again, I did my best to replicate somewhat simple script that someone’s using as a moneygrab.
This does not provide a vehicle locksystem, this is merely a “minigame” which can be used in order to unlock locked vehicles
(Should not conflict with your locksystems or other scripts that render vehicles locked)
This is not completely Standalone, it uses ESX for notifications and item register, thus it’s fairly easy to convert to your framework.
Dependencies:
Features:
- Due to me being a lazy ass, you’ll need DpEmotes to get them animations work
- ESX
- You’ll need to add ‘vehlockpick’ -item in your database, or what ever you want it to be, just remember to switch it out in server script
- Minigame to unlock vehicle door
- I also added one loop which prevents vehicles with NPC’s inside being carjacked
- If you want player to lose lockpick upon failure, just add;
xPlayer.removeInventoryItem(‘vehlockpick’, 1)
in the Registerusableitem function (Server)- Runs 0.01-0.02ms on idle / in use
GOOD FORUMS