[FREE][ESX/QB-CORE] Envi-Carjack

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!

Enjoy!

PREVIEW:

DOWNLOAD:

9 Likes

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.

1 Like

Appreciate you checking it out!
Will add a function to unlock the cars natively and people can add their keys triggers there :slight_smile:
I’ll push an update in the next couple days

will add a config option of the chance of unlocking too for those who want some variety.

V1.05 - (Keys Update) pushed!

Please add your vehicle keys logic/triggers into the Unlock() function.
If anyone needs any help getting their keys set up just hit me up!

** V1.069 Update pushed!**

[V1.069 - Animations improvements and bug fix]

Very nice much appreciated :+1:.

2 Likes

V1.1 Update!
NOW SUPPORTS QB-CORE, QB-TARGET, AND QB-VEHICLEKEYS

we want it QBCORE PLZZZ

it supports qb already :slight_smile:

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)

Hey, works fine for NPCs.
If i try to pull out a player, i just open the door then it stops or i run to the frontpassengerdoor. Any idea why?

Sounds like there may be another script youre using which prevents it - but I cant be too sure without looking into it further

to force unlock a vehicledoor, use this in client.lua.

Unlock = function(vehicle, plate)  
    SetVehicleDoorsLocked(vehicle, 1)
end

ref: SetVehicleDoorsLocked - FiveM Natives @ Cfx.re Docs

thank you for this script! But we found an conflict with real vehicle damage, can you refresh this script to use it more ?

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! :slight_smile: best of luck!