Nadav Posted June 30, 2012 Share Posted June 30, 2012 How can I change the ped running style? As in SA-MP, you can turn off this CJ-running (as in RP servers) Is this possible here? How? Thanks in advance. Link to comment
ben_wright Posted June 30, 2012 Share Posted June 30, 2012 What you could of used was setPedWalkingStyle, but I think they disabled it due to a bug. https://wiki.multitheftauto.com/wiki/SetPedWalkingStyle http://bugs.mtasa.com/view.php?id=3788 other than that, nothing I guess. setPedAnimation wont properly work. Link to comment
Nadav Posted June 30, 2012 Author Share Posted June 30, 2012 Well, okay. I think I'll just detect when's the player running and then slow his gamespeed to 0.7 So, how can I do it? Link to comment
Guest Guest4401 Posted June 30, 2012 Share Posted June 30, 2012 getPedMoveState getPedMoveState -- "sprint" Link to comment
Nadav Posted June 30, 2012 Author Share Posted June 30, 2012 Thank you. How can I set player's gamespeed? (or anyway slowing down his sprint speed to 0.7 / float) Link to comment
Nadav Posted June 30, 2012 Author Share Posted June 30, 2012 This function's input is INT, I want to set it as float. Link to comment
qaisjp Posted June 30, 2012 Share Posted June 30, 2012 Don't use setGameSpeed. Use setPedAnimation combined with other stuff to replicate normal walking. Link to comment
Nadav Posted June 30, 2012 Author Share Posted June 30, 2012 What are those other stuff to make it look decent? Link to comment
qaisjp Posted July 1, 2012 Share Posted July 1, 2012 forward, backward, left, right binds to change the rotation, camera checking so you walk forward in the direction of the camera. Starting and stopping the animation. 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