Skip to main content

OnPlayerCorpse

Usage​

  • Called when a non-null corpse has just been spawned
  • No return behavior

Examples​

""
void OnPlayerCorpse(BasePlayer player, BaseCorpse corpse)
{
Puts($"A corpse for {player.displayName} has just been spawned!");
}