Nadav Posted June 30, 2012 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.
ben_wright Posted June 30, 2012 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.
Nadav Posted June 30, 2012 Author 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?
Guest Guest4401 Posted June 30, 2012 Posted June 30, 2012 getPedMoveState getPedMoveState -- "sprint"
Nadav Posted June 30, 2012 Author Posted June 30, 2012 Thank you. How can I set player's gamespeed? (or anyway slowing down his sprint speed to 0.7 / float)
Nadav Posted June 30, 2012 Author Posted June 30, 2012 This function's input is INT, I want to set it as float.
MTA Team qaisjp Posted June 30, 2012 MTA Team Posted June 30, 2012 Don't use setGameSpeed. Use setPedAnimation combined with other stuff to replicate normal walking.
Nadav Posted June 30, 2012 Author Posted June 30, 2012 What are those other stuff to make it look decent?
MTA Team qaisjp Posted July 1, 2012 MTA Team 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.
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