30.06.2016, 10:54
(
Последний раз редактировалось DusanInfinity; 30.06.2016 в 11:28.
)
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?
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?