Gang Animation

i saw a previos post where this was requested in fivem, i know that the mod in https://www.gta5-mods.com/ is called strapped but i dont know how to get that into fivem.

anyone that knows? i saw this code in the other topic but not sure how to get that into fivem!

reaction@intimidation@1h
intro
outro
step_bwd
step_fwd

combat@reaction_aim@pistol	
0
-0
180
-180
90
-90
2 Likes

Could you not add the code to another animation menu?

1 Like

I need it to be whenever i take out my pistol it will do the amimation

https://pastebin.com/b40bD065

The code makes you not be able to enter the weapon wheel.

(20 char)

the animation is allitle weird :label: and a armor comes and goes

Yeah well that is the animation he requested, it won’t work until he finds out all 3 animations.

You creating multiple situations that need moderator intervention is not a “grudge”.

1 Like

ahhhh… i could really have use of this code? can you send it to me in pm maby?

1 Like

Thank you! <3

(20 char)

2 Likes

Mine is bugged, it holsters everytime.
I try to unholster the weapon and it does the holster animation, i holster the gun and it does the holster animation.
It also gives me a bulletproof vest everytime i holster.

Can i remove the armor vest somehow?

2 Likes

the best configuration for the animation to be done well, if u want a little bit of time, only touch the Citizen.Wait() [sorry for bad english :)]

  while true do
        Citizen.Wait(0)
        local ped = PlayerPedId()
        if DoesEntityExist( ped ) and not IsEntityDead( ped ) and not IsPedInAnyVehicle(PlayerPedId(), true) then
            loadAnimDict( "reaction@intimidation@1h" )
            if CheckWeapon(ped) then
                if holstered then
                    TaskPlayAnim(ped, "reaction@intimidation@1h", "intro", 5.0, 1.0, -1, 30, 0, 0, 0, 0 )
                    Citizen.Wait(1700)
                    ClearPedTasks(ped)
                    holstered = false
                end
                SetPedComponentVariation(ped, 0, 0, 0, 0)
            elseif not CheckWeapon(ped) then
                if not holstered then
                    TaskPlayAnim(ped, "reaction@intimidation@1h", "outro", 8.0, 1.0, -1, 30, 0, 0, 0, 0 )
                    Citizen.Wait(1500)
                    ClearPedTasks(ped)
                    holstered = true
                end
                SetPedComponentVariation(ped, 0, 0, 0, 0)
            end
        end
    end
end)

Hi Lucifer i can find it on github can u maybe send it to me?

1 Like

Do you have this animation to share?

2 Likes

Only copy that code into client.lua

1 Like

I have this code and it only plays it for a second, anyone got it too play the whole thing?

how do u make it bind to a key?

Good Night,
What did you mean? Where is the client.lua ?

I hope you can help me,
have a great rest of day, ty

I’m going to save you work, I better give you my full resource and the only thing you have to do is to put it in your resource folder and in the cfg you start start fs_gang and that would be it, if you want to add weapons only you must put the name of the weapon here (https://gyazo.com/f896378a6feb2ef72df1cd1b63adc1a0)
DOWNLOAD: https://drive.google.com/open?id=1a6Fe1JfvKCsGT6VyVcUb3xx3GyCXJMoe

have a good night / days :slight_smile:

8 Likes