Pedro Silveira Posted December 3, 2017 Share Posted December 3, 2017 Hello, i set a animation for a ped but i need this ped stopped during the animation! How i can do it? Here the code: setPedAnimation(ped2, "shop", "SHP_Rob_Givecash") giveWeapon(l_5_0, 22) setPedRotation(l_5_0, 90) setPedWeaponSlot(l_5_0, 2) setPedAnimation(l_5_0, "shop", "rob_loop") setTimer(setPedAnimation, 4000, 1, l_5_0, false) setTimer(setPedAnimation, 90000, 1, ped2, "shop", "SHP_Rob_Handsup") setTimer(setPedAnimation, 300000, 1, ped2, false) setElementPosition(robmarker2, 3099.97, -3281.69, -0.5) Thanks everybody! Link to comment
Bonus Posted December 3, 2017 Share Posted December 3, 2017 (edited) Freeze the ped ... Make the animation not interruptable ... What do you mean with "stopped"? Why should the ped move while doing the animation? Edited December 3, 2017 by Bonus Link to comment
Pedro Silveira Posted December 3, 2017 Author Share Posted December 3, 2017 Thanks Bonus! You ever saving me! 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