lopezloo Posted July 2, 2012 Share Posted July 2, 2012 Hello. I got a problem about animation. When im applying animation to player i can't move with him. This animation in single player and SA-MP support moving (CARRY - crry_prtial). Changing parameters in function setPedAnimation doesn't change effect. Too same is with jogging, walking (player run and can't change direction) and talking animations. Is possible to unfreeze this or it's bug? Screenshot from SA-MP. Link to comment
qaisjp Posted July 2, 2012 Share Posted July 2, 2012 move the player manually using binds Link to comment
lopezloo Posted July 2, 2012 Author Share Posted July 2, 2012 How? I want visual moving effect on player like single or SA-MP. Okay, im solved it. Thanks. (setControlState) @edit2 Im solved it and i think it's MTA bug because when im applied control state i must wait 500ms to play this animation (when im play directly running is freezed). setControlState(direction, true) setTimer(function() setPedAnimation(localPlayer, "CARRY", "crry_prtial", -1, true, true, false, false) end, 500, 1) Link to comment
qaisjp Posted July 3, 2012 Share Posted July 3, 2012 setControlState(direction, true) setTimer(setPedAnimation,500,1,localPlayer, "CARRY", "crry_prtial", -1, true, true, false, false) Your welcome. Link to comment
qaisjp Posted July 3, 2012 Share Posted July 3, 2012 direction is defined already in his code. I just improved his code. it already works for him. 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