OnPlayerDeath
#1

When anyone kill player, or when i kill player with command, or when player jump, he dont die, he dont see death anim, all other see him death except him. He can run, shoot from gun, kill other players, and after 2-3 seconds he get respawn. I search on forum but i dont find solution.

1. I check if killerid != INVALID_PLAYER_ID
2. I put debug messages, and when player die(for other players), he is in PLAYER_STATE_WASTED, and OnPlayerDeath start and finish, sucessful. After 2-3 sec player see animation for death, and after 4-5 sec OnPlayerSpawn is called...


Do you have any idea for solution?


EDIT: I think i found anything... Everything is called on time, only animation not started on time...

Second found: When i Apply any animation, and then when i die, its okey, animation starts good... Do I need to loop any animation always?
Reply


Messages In This Thread
OnPlayerDeath - by DusanInfinity - 30.06.2016, 10:54
Re: OnPlayerDeath - by oMa37 - 30.06.2016, 11:43
Re: OnPlayerDeath - by DusanInfinity - 30.06.2016, 12:00
Re: OnPlayerDeath - by brianvans089 - 30.06.2016, 13:07
Re: OnPlayerDeath - by David (Sabljak) - 13.05.2018, 16:32

Forum Jump:


Users browsing this thread: 3 Guest(s)