15.11.2012, 19:58
Hello.
After a few attemps that ended up unsuccessful, I'm now requesting your help to know if you've got a solution for my issue. You know that, by default, if we don't do anything special, when a player dies he falls on the floor, the camera goes on above view mode and the player respawns after a few seconds. What I'd like, is the player NOT to respawn automatically, WITHOUT using the spectate mode. I know that I already did it a long time ago (unintentionally), but I don't remember in what circumstances it was happening. I even had the camera that kept going up in the sky forever.
Does someone know how to do? I'd really need to decide when the player should respawn once he dies to add a little feature that I'm coding for my server. And I repeat: spectating is not an option to consider.
just to let you know: I already tried "return 0;" in a few callbacks, without meeting any success.
Thanks to those who know how to do!
After a few attemps that ended up unsuccessful, I'm now requesting your help to know if you've got a solution for my issue. You know that, by default, if we don't do anything special, when a player dies he falls on the floor, the camera goes on above view mode and the player respawns after a few seconds. What I'd like, is the player NOT to respawn automatically, WITHOUT using the spectate mode. I know that I already did it a long time ago (unintentionally), but I don't remember in what circumstances it was happening. I even had the camera that kept going up in the sky forever.
Does someone know how to do? I'd really need to decide when the player should respawn once he dies to add a little feature that I'm coding for my server. And I repeat: spectating is not an option to consider.
just to let you know: I already tried "return 0;" in a few callbacks, without meeting any success.
Thanks to those who know how to do!