Tycka Posted October 3, 2014 Share Posted October 3, 2014 Hello, when I start animation they didn't end, in mta 1.3 ist work correctly but in mta 1.4 animation didn't stop. Code : setPedAnimation(source, "VENDING", "VEND_Drink2_P", nil, false, false, nil, false) Link to comment
LaCosTa Posted October 3, 2014 Share Posted October 3, 2014 if you want to stop ped animation simply use this setPedAnimation(thePed , false) Link to comment
darhal Posted October 3, 2014 Share Posted October 3, 2014 setPedAnimation(source, false) -- if you want the time to end after some time use : setTimer() Link to comment
Anubhav Posted October 3, 2014 Share Posted October 3, 2014 All of you din't see the arguments. Go to wiki instead of timer seconds = 5 -- set your seconds setPedAnimation(source, "VENDING", "VEND_Drink2_P", seconds*1000, false, false, nil, false) Link to comment
Tycka Posted October 4, 2014 Author Share Posted October 4, 2014 All of you din't see the arguments. Go to wiki instead of timer seconds = 5 -- set your seconds setPedAnimation(source, "VENDING", "VEND_Drink2_P", seconds*1000, false, false, nil, false) Thanks for help 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