Jump to content

Freez a ped into an animation


Gordon_G

Recommended Posts

Posted

Hello, 

 

I know how to freez an element, I know how to freez an element but I would like something like this :

When my ped is hit (by a punch for exemple) he still in his animation. 

Is it possible ? Thanks !

Posted
setPedAnimation ( ped thePed [, string block=nil, string anim=nil, int time=-1, bool loop=true, bool updatePosition=true, bool interruptable=true, bool freezeLastFrame = true] )

You can do this by setting the interruptable arg to false.

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