xXMADEXx Posted May 4, 2013 Share Posted May 4, 2013 Hi guys, i've been trying, but i cannot keep this stupid ped to keep dancing in mid air. Anyone know? ped = createPed(math.random(0,216), -1095, 336.2, 20.5) setPedAnimation(ped, "DANCING", "dnce_m_b") setElementFrozen(ped,true) Link to comment
50p Posted May 4, 2013 Share Posted May 4, 2013 You can't make floating ped dance in mid air because the ped will start falling and the animation you set will be canceled. You need to create something underneath the ped so that he/she can stand on and dance. That's what I did in my spawn script check the source code if you need to: https://community.multitheftauto.com/in ... ls&id=1152 Link to comment
xXMADEXx Posted May 4, 2013 Author Share Posted May 4, 2013 You can't make floating ped dance in mid air because the ped will start falling and the animation you set will be canceled. You need to create something underneath the ped so that he/she can stand on and dance. That's what I did in my spawn script check the source code if you need to: https://community.multitheftauto.com/in ... ls&id=1152 Thank you Link to comment
DiSaMe Posted May 4, 2013 Share Posted May 4, 2013 setPedAnimation: interruptable: if set to 'false' other tasks wont be able to interupt the animation. Setting this to 'false' also gives this function more power to override other animations that are running. For example, squatting after a jump can be terminated. Just set that argument to false... 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