Jump to content

Custom Animations Question


Lalalu

Recommended Posts

Hallo! I would like to know if there's any way for all players to see this animations... 

local animTT = {

	ifp = {},

	animations = {
		"msclewalkst_armed",
		"msclewalkst_csaw",
		"mscle_rckt_run",
		"mscle_rckt_walkst",
		"mscle_run_csaw",
		"muscleidle_rocket",
		"musclerun",
		"musclerun_armed",
		"musclesprint",
		"musclewalk",
		"musclewalkstart",
		"musclewalk_armed",
		"musclewalk_csaw",
		"musclewalk_rocket",
	}

}

addEventHandler("onClientResourceStart", resourceRoot,
	function()

		animTT.ifp["block"] = "muscular"
		animTT.ifp["ifp"] = engineLoadIFP("muscular.ifp", animTT.ifp["block"])

		for _, v in ipairs(animTT.animations) do
			engineReplaceAnimation(localPlayer, "muscular", v, animTT.ifp["block"], v)
		end

	end
)

 

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...