Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

OnPlayerDie

ShingekiNoRex edited this page Aug 24, 2018 · 7 revisions

Description

Called before a player is about to die.

In case the killer can't be passed, Killer will be null, so check for that before doing something.

Handler

IEventHandlerPlayerDie

Inputs/Outputs

  • Player Player { get; }

The Player who gets killed

  • Player Killer { get; }

The Player who kills others

  • bool SpawnRagdoll { get; set; }

Whether the ragdoll of the dead will spawn

  • DamageType DamageTypeVar { get; set; }

The type of damage taken

Examples

Need to be added

Server Guides

API Documents

Clone this wiki locally