Deathbug discussion?
#21

Quote:
Originally Posted by CyNiC
View Post
Ok, change the player health for 1.0 and he will die.
Nein.
Reply
#22

I set their health to a value above 0.0 and it works. Under my OnPlayerDeath callback I have SetPlayerHealth(playerid, 100.0);.
Reply
#23

i will add another solution
when the wasted anim is applied you set a variable to the player (set it to 1) , onplayerspawn you set it to 0 then you can just set a timer to check if the variable is 1 and in that case you can print the player is bugged and set his health to 1
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)