Couldn’t find a script to do this anywhere so I made it as my first of many free releases.
Envi-Carjack is a simple FiveM resource designed to allow the player to remove a player/NPC from the driver’s seat of a vehicle that fully utilises the native GTA function and includes animations and synced window smash. The player must be wielding the Nightstick Weapon. (You can add/ change weapons inside the config).
Compatible with qtarget, ox_target and can also be used without any taget system.
Currently supports ESX but will convert to QB soon if there’s enough interest!
Awesome release, Only issue i had is that it doesn’t force the car locks to open so you can lock the vehicle and even when you do this to break the window and drag them out it won’t due to the car being locked.
Appreciate you checking it out!
Will add a function to unlock the cars natively and people can add their keys triggers there
I’ll push an update in the next couple days
after using the nightstick one time. im kicking out every player when I try to get in a vehicle. eventhough I dont have the nightstick in my hand anymore (/qbcore)
Hi there, thanks for your feedback - but the script is fully open source meaning that you can edit it to your hearts content. I wouldnt be adding support for other dependancies but I do encourage you to get creative and try make those edits yourself! best of luck!