[SOLVED] Death animation delay
#1

When a player dies, they should 'flop forward' as they always have, but they stand there for about a second (and can run around) THEN flop over. Any ideas what's causing this?

- Works fine on a blank mode.
- Hooked ApplyAnimation and ClearAnimation - neither are EVER called.
- Commented out all of OnPlayerDeath; didn't change a thing.
- Head movements are reset (facing forward) when I type /die (suicide) - this is what led me to believe animations were the cause, but no.

Kind of annoying :/

EDIT: Was caused by a 'fix' in fixes.inc ¬_¬
Reply
#2

What fix was causing this?
Reply
#3

There's only one OnPlayerDeath fix in fixes.inc.

* FIX: OnPlayerDeath
* PROBLEM: Clients get stuck when they die with an animation applied.
* SOLUTION: Clear their animations.
Reply
#4

Quote:
Originally Posted by MP2
Посмотреть сообщение
There's only one OnPlayerDeath fix in fixes.inc.

* FIX: OnPlayerDeath
* PROBLEM: Clients get stuck when they die with an animation applied.
* SOLUTION: Clear their animations.
Yeah.. I've seen that right after I posted.
Reply
#5

I'll bet it's fixes.inc that's causing my game to crash when I mod a car at a transfenders too.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)