Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
When i'm trying to apply animations inside vehicles, it doesn't work if i accelerated/reversed before, the player just makes a short twitch.
But if i shortly hold down W and S at the same time, the animation works fine afterwards, but if i then accelerate or reverse a bit again i have to do it again.
That's the best i can explain it, but does anyone know how to fix this bug?
Posts: 2,308
Threads: 337
Joined: Nov 2011
Reputation:
0
Can u show me code how u done it?
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
01.03.2016, 17:34
(
Last edited by CalvinC; 01/03/2016 at 07:05 PM.
)
Bump.
EDIT: Animations also works if you hold down the handbrake a bit, so it might just be when the client is 100% sure the vehicle is fully stopped perhaps.
Posts: 341
Threads: 59
Joined: Jul 2010
Reputation:
0
Does it work fine in passenger seats? If that's the case then the game applies a new animation to the player when you press W/S and so on. Try debugging it with something like creating a new function called OnPlayerAnimationChange under OnPlayerUpdate where you use GetPlayerAnimationIndex and check if it updates when you're in a car, might spam your screen though.
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
Bump, nobody knows how to fix this?