Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void OnClientRespawnEvent(PlayerIdentity identity, PlayerBase player)
- {
- // note: player is now killed in db right after the actual kill happens
- /*if (GetHive() && player)
- {
- GetHive().CharacterKill(player);
- }*/
- if(player)
- {
- if (player.IsUnconscious() || player.IsRestrained())
- {
- // kill character
- player.SetHealth("", "", 0.0);
- }
- GetGame().ObjectDelete( player )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement