[Release] Tackle System

xD

ahahahahahahaa this is hilarious

1 Like

Update to 0.2

– Fixed major bug (Thanks to @Flatracer)
– Added configurable option to ragdoll yourself when tackling someone (Default = true)

2 Likes

Update to 0.3

– Complete rewrite (Thanks @Flatracer once again :stuck_out_tongue: )
– You can only tackle if jumping
– People only get tackled if you touch them while tackling

1 Like

Video Preview:
https://streamable.com/hvlpf

:scream: You have a test person, how does that work??? I need that :stuck_out_tongue:

FlatracerMOD_Test aka my shitty laptop

2 Likes

Second account for testing. Y̶e̶a̶h̶ ̶y̶a̶ ̶g̶o̶t̶t̶a̶ ̶b̶u̶y̶ ̶g̶t̶a̶ ̶a̶g̶a̶i̶n̶, but for ppl like me its easier than finding a tester. My friends are mainly on ps4 still. Built my bro a pc last nite, so he can get on fivem. :sunglasses:

2 Likes

You don’t have to buy GTA again…
You can login with one account on both clients without problems…

1 Like

Really? Well shit. Oh well. Lol.

1 Like

Just give one account to your brother, so both of you can play GTA:Online together :smile:

True. My test server on my local host is connected to a DB so logging in twice with the same account gave me issues. Should use a vanilla for testing. But since im testing updates to a live server cant really do the vanilla.

1 Like

Its running great on my end, Just one issue, Lmao, when someone is cuffed they can tackle the othe rperson, Now I was thinking if there was a way to tie if they are cuffed to disable a key

Not really an issue with the script :stuck_out_tongue: You could add this to your cuff script: https://runtime.fivem.net/doc/reference.html#_0x128F79EDCECE4FD5

Look at @Flatracer 's reply below.

(If you need help send me the cuff script you are using)

1 Like

CAN_PED_RAGDOLL(...) just returns if he can ragdoll or not.

Better use this:

SET_PED_CAN_RAGDOLL(PlayerPedId(), false) --If Cuffed
SET_PED_CAN_RAGDOLL(PlayerPedId(), true) --If not Cuffed
2 Likes

yea didn’t really think it was an issue, just something I think I’ll need to add on my own I guess

Depending on your cuff script, you can replace line 6 of >>v3<< with this:

		if IsPedJumping(PlayerPedId()) and IsControlJustPressed(0, tackleKey) and not IsPedCuffed(PlayerPedId()) and not IsEntityPlayingAnim(PlayerPedId(), 'mp_arresting', 'idle', 3) then
1 Like

Does not work for me, is this FXserver only?

1 Like

There is nothing else than FXServer, so yes… FXServer only

This worked for me on my ESX, I just added the “and not” parts to my original and worked appreciate it :slight_smile: