[Release] esx_ktackle - Tackling for Police Officers

Is it possible for someone to make a pull for this topic on github for a non-esx version. The other tackle script is not as reliable and doesn’t have animations.

2 Likes

Niiice, ill try to convert to use in vrp…

It still working? I tried on my esx base and nothing, neiter console errors =(.

1 Like

very nice script works well

We have tried to convert this MANY times to none ESX, And its proving difficult, If we get it working thou we will share :smiley:

Why don’t you use something like this that’s already non esx [Release] Tackle System

Because the animation sucks xD Were going for realistic :slight_smile:

Is there a fixed version that doesn’t make it where when you tackle they fall away from where the tackle happened?

It’s not an animation, it’s just ragdoll :wink:

is there a way so that another job can use it ? I use esx_policejob and esx_sheriff

how can i make it so multiple jobs can tackle?

Yes, you can edit this in client.lua

Declare a var local Xjob='label job' on the top,
example: local AmbulanceJob='ambulance'

Then find this line:

	if IsControlPressed(0, Keys['LEFTSHIFT']) and IsControlPressed(0, Keys['G']) and not isTackling and GetGameTimer() - lastTackleTime > 10 * 1000 and PlayerData.job.name == PoliceJob then

And change for this:

Changes

if IsControlPressed(0, Keys[‘LEFTSHIFT’]) and IsControlPressed(0, Keys[‘G’]) and not isTackling and GetGameTimer() - lastTackleTime > 10 * 1000 and (PlayerData.job.name == PoliceJob or PlayerData.job.name == AmbulanceJob) then

Hope help you and work!
Regards.

how can all players do this because the police can do it? !

With Victor said you Just need to cover all jobs, simples as that

How could i make it so anyone could tackle someone?

still work?

Just sear where it says if PlayerData.job.name = “police” i think

Hi, I was wondering, is there a hunger and water bar scenario in the video?

Has anyone managed to remove the ESX components and get it to work as a Standalone?

Would love a standalone version of this.

1 Like

I’m also looking to see of anyone can convert for standalone for Fx Servers.

1 Like