xXMADEXx Posted June 3, 2013 Share 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 ) Link to comment
Blaawee Posted June 3, 2013 Share Posted June 3, 2013 setPedAnimation ( source, nil, nil ) Link to comment
DiSaMe Posted June 3, 2013 Share 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'. Link to comment
xXMADEXx Posted June 3, 2013 Author Share 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 Link to comment
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