This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 30
OnPlayerDie
ShingekiNoRex edited this page Aug 24, 2018
·
7 revisions
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.
IEventHandlerPlayerDie
-
Player
Player { get; }
The player who gets killed
-
Player
Killer { get; }
The killer who kills the player
-
bool
SpawnRagdoll { get; set; }
Whether the ragdoll of the dead will spawn
-
DamageType
DamageTypeVar { get; set; }
The type of damage taken
Need to be added
- Installation
- Config
- Server Name Variables
- Commands
-
- Admin Events
- Enviroment Events
-
Player Events
- OnPlayerHurt
- OnPlayerDie
- OnPlayerPickupItem
- OnPlayerDropItem
- OnPlayerJoin
- OnNicknameSet
- OnAssignTeam
- OnSetRole
- OnCheckEscape
- OnSpawn
- OnDoorAccess
- OnIntercom
- OnIntercomCooldownCheck
- OnPocketDimensionExit
- OnPocketDimensionEnter
- OnPocketDimensionDie
- OnThrowGrenade
- OnPlayerInfected
- OnSpawnRagdoll
- OnLure
- OnContain106
- OnMedkitUse
- OnShoot
- On106CreatePortal
- On106Teleport
- OnElevatorUse
- OnHandcuff
- OnGeneratorUnlock
- OnGeneratorAccess
- OnGeneratorInsertTablet
- OnGeneratorEjectTablet
- On079Door
- On079Lock
- On079Elevator
- On079TeslaGate
- On079AddExp
- On079LevelUp
- On079UnlockDoors
- On079CameraTeleport
- On079ElevatorTeleport
- On079StartSpeaker
- On079StopSpeaker
- On079Lockdown
- Server Round Events
- Team Events