Jump to content

[HELP] ANIMATION IS MOVING THE PED!


Recommended Posts

Hello, i set a animation for a ped but i need this ped stopped during the animation! How i can do it?

Here the code:

setPedAnimation(ped2, "shop", "SHP_Rob_Givecash")
	giveWeapon(l_5_0, 22)
	setPedRotation(l_5_0, 90)
	setPedWeaponSlot(l_5_0, 2)
	setPedAnimation(l_5_0, "shop", "rob_loop")
	setTimer(setPedAnimation, 4000, 1, l_5_0, false)
	setTimer(setPedAnimation, 90000, 1, ped2, "shop", "SHP_Rob_Handsup")
	setTimer(setPedAnimation, 300000, 1, ped2, false)
    setElementPosition(robmarker2, 3099.97, -3281.69, -0.5)

Thanks everybody!

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