Jump to content

Stupid Animation


Recommended Posts

Posted

Hello guys, im making a vending script, but i need a little help restoring the animation.... For some reason, after the animation is done, the players arm will stay up, until he enters a vehicle (or does another animation,) i tried, but i cannot figure out how to reset his animation to default ( I have used "setPedAnimation ( source )" )

Code:

setPedAnimation ( source, "VENDING", "VEND_Drink2_P", 1000, false ) 

Posted

Arm stays up because the last argument of setPedAnimation (freezeLastFrame) is set to 'true' by default. You need to set it to 'false'.

Posted
Arm stays up because the last argument of setPedAnimation (freezeLastFrame) is set to 'true' by default. You need to set it to 'false'.

oh :P thx

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