Saml1er Posted August 31, 2018 Share Posted August 31, 2018 7 minutes ago, Dretax said: I keep pressing space, but it just turns back how it was, not allowing me to run with the weapon. Then which animation do you want to play from the custom ped.ifp when you press space? Currently, run_armed will be played when you move with a weapon. Link to comment
Dretax Posted August 31, 2018 Author Share Posted August 31, 2018 3 minutes ago, Saml1er said: Then which animation do you want to play from the custom ped.ifp when you press space? Currently, run_armed will be played when you move with a weapon. You don't get It. >.< It is fine as it is currently! I recorded this that i keep pressing space but my character doesnt run with a weapon! When i start running without a weapon, equip one, it runs for a few seconds, then stops, and starts walking again, even though i keep pressing space! Link to comment
Saml1er Posted August 31, 2018 Share Posted August 31, 2018 1 minute ago, Dretax said: You don't get It. >.< It is fine as it is currently! I recorded this that i keep pressing space but my character doesnt run with a weapon! When i start running without a weapon, equip one, it runs for a few seconds, then stops, and starts walking again, even though i keep pressing space! Good to know. I didn't do anything special, you can check the code. The reason it didn't work for you because you probably did something wrong. Link to comment
Dretax Posted August 31, 2018 Author Share Posted August 31, 2018 Just now, Saml1er said: Good to know. I didn't do anything special, you can check the code. The reason it didn't work for you because you probably did something wrong. Na-na-na. Everything happened as it happened with your small code. What we have sorted here is my character cannot keep on running with a weapon in his hand. Thats why we started talking about pedstat 23 or walkstyles that could allow running with a weapon. So how are you running with a weapon? Because i definetely cannot. Link to comment
Saml1er Posted August 31, 2018 Share Posted August 31, 2018 Again, is that weapon™ M4? my ped is moving with the same speed as yours that you showed in the video. 3 minutes ago, Dretax said: What we have sorted here is my character cannot keep on running with a weapon in his hand. So the animation plays for a second or two and then it stops? or it never plays? I saw in the video that you were able to move in the same way I was. Link to comment
Dretax Posted August 31, 2018 Author Share Posted August 31, 2018 1 minute ago, Saml1er said: Again, is that weapon™ M4? my ped is moving with the same speed as yours that you showed in the video. So the animation plays for a second or two and then it stops? or it never plays? I saw in the video that you were able to move in the same way I was. Yes but see it stops after a few seconds and I don't know why. It wouldn't allow me to run with the m4 after that. Just to clarify, placing an m4 in my hand - > try running -> doesnt work start running -> place m4 in hand -> works for a few seconds -> doesnt work after that Link to comment
Saml1er Posted August 31, 2018 Share Posted August 31, 2018 (edited) 41 minutes ago, Dretax said: Yes but see it stops after a few seconds and I don't know why. It wouldn't allow me to run with the m4 after that. can you try running the resource on any other server? it works fine for me. Something on your server might be modifying animations. Edited September 1, 2018 by Saml1er Link to comment
Keiichi1 Posted August 31, 2018 Share Posted August 31, 2018 I think it's because you're using setPedControlState to set the control state to walk. I got the same issue, then i turned that resource off and it works perfectly. 1 Link to comment
Dretax Posted August 31, 2018 Author Share Posted August 31, 2018 Definetely not controlstate. If it was i wouldnt be able to run without weapons. 13 minutes ago, Saml1er said: can you try running the resource in any other server? it works fine for me. Something on your server might be modifying animations. Yes i will test it in the morning on an empty srv. Link to comment
Dretax Posted September 1, 2018 Author Share Posted September 1, 2018 8 hours ago, Saml1er said: can you try running the resource on any other server? it works fine for me. Something on your server might be modifying animations. Welp, I am indeed confused a bit. On a normal server pressing W causes to walk for 1 second, then triggers the spring animation without even pressing space. Is that the normal behaviour? I wonder what's causing me the problem. Link to comment
Saml1er Posted September 1, 2018 Share Posted September 1, 2018 3 hours ago, Dretax said: Is that the normal behaviour? Yes, the walking animation is played first. This is how GTA:SA works. However, you can replace the walking animation with the custom run_armed . Link to comment
Dretax Posted September 2, 2018 Author Share Posted September 2, 2018 Alright, the walking thing got me confused, can finally run now. Thanks, all anims work correct without replacement. Link to comment
greentumbleweed Posted September 13, 2018 Share Posted September 13, 2018 im so confused did you finally get it so you can sprint with this animation? because i would love to know how Link to comment
Saml1er Posted September 13, 2018 Share Posted September 13, 2018 5 hours ago, greentumbleweed said: im so confused did you finally get it so you can sprint with this animation? because i would love to know how probably yes. 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