xXMADEXx Posted June 3, 2013 Posted June 3, 2013 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 )
DiSaMe Posted June 3, 2013 Posted June 3, 2013 Arm stays up because the last argument of setPedAnimation (freezeLastFrame) is set to 'true' by default. You need to set it to 'false'.
xXMADEXx Posted June 3, 2013 Author Posted June 3, 2013 Arm stays up because the last argument of setPedAnimation (freezeLastFrame) is set to 'true' by default. You need to set it to 'false'. oh thx
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now