Player doesn't fall to the floor after dying
#1

Hey there,

I've been experiencing a frustrating issue for quite a while.

https://www.youtube.com/watch?v=ESvvWrsytM4

Basically, when a player dies, they won't fall to the floor straight away, they'll fall to the floor around 2-3 seconds after dying.

I've asked other players and they said they are experiencing the same issue. However, this issue only occurs on my server, I've tried lots of other servers, and the issue doesn't occur.
Reply
#2

I think you will have to applyanimation something like that when player dies.(Not sure 100% since never did it)
Reply
#3

Quote:
Originally Posted by JamalMaddox
Посмотреть сообщение
I think you will have to applyanimation something like that when player dies.(Not sure 100% since never did it)
Already tried that
Reply
#4

Did you check OnPlayerTakeDamage and OnPlayerDeath for possible timers?
Reply
#5

Quote:
Originally Posted by Prostilov
Посмотреть сообщение
Did you check OnPlayerTakeDamage and OnPlayerDeath for possible timers?
I've debugged OnPlayerDeath, and I have managed to find out what was causing the issue:

Код:
TogglePlayerControllable(playerid, 1);
I've removed the line and now it works fine.

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)