Jump to content

[HELP] Have some way to walk with animation ON ?


joao2235

Recommended Posts

I did the custom ifp using the GTAAnimManager, but don't works. Follow my code and ifp:
 

local animTable = {

	ifp = {},

	anims = {
        "ROB_2Idle",
        "ROB_Loop",
        "ROB_Loop_Threat",
        "ROB_Shifty",
        "ROB_StickUp_In",
        "SHP_Duck",
        "SHP_Duck_Aim",
        "SHP_Duck_Fire",
        "SHP_Gun_Aim",
        "SHP_Gun_Duck",
        "SHP_Gun_Fire",
        "SHP_Gun_Grab",
        "SHP_Gun_Threat",
        "SHP_HandsUp_Scr",
        "SHP_Jump_Glide",
        "SHP_Jump_Land",
        "SHP_Jump_Launch",
        "SHP_Rob_GiveCash",
        "SHP_Rob_HandsUp",
        "SHP_Rob_React",
        "SHP_Serve_End",
        "SHP_Serve_Idle",
        "SHP_Serve_Loop",
        "SHP_Serve_Start",
        "Smoke_RYD"


		
	}

}

addEventHandler("onClientResourceStart", resourceRoot,
	function()

		animTable.ifp["block"] = "ped"
		animTable.ifp["ifp"] = engineLoadIFP("shop.ifp", animTable.ifp["block"])

		for _, v in ipairs(animTable.anims) do
			engineReplaceAnimation(localPlayer, "ped", v, animTable.ifp["block"], v)
		end

	end
)

https://i.imgur.com/VJqK2kx.png

In this print take look on the bones, i took off the legs and something like this, leave only the arms and hands.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...