SlashCo Wiki

SlashCo:PrePlayerDeath

 boolean SlashCo:PrePlayerDeath( Player victim )

Description

Called from GM:PlayerDeath for a dying Survivor, before their items are dropped and a life is subtracted.

Arguments

1Player victim

The Survivor who died

Returns

1boolean cancel

Return true to completely cancel the death (no items dropped, no life lost).