OnPlayerDeath
From Onset Developer Wiki
Description
Calls when a player dies by any means possible. If the player wasn't killed by another player, instigator will be the same as the player.
Syntax
OnPlayerDeath(player, instigator)
Parameters
- player
The player that has died. - instigator
The player who is responsible for the death.
Example
__EDIT_ME__
See also
- OnPlayerServerAuth
- OnPlayerSteamAuth
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerJoin
- OnPlayerQuit
- OnPlayerSpawn
- OnPlayerDeath
- OnPlayerWeaponShot
- OnPlayerDamage
- OnPlayerChat
- OnPlayerChatCommand
- OnPlayerInteractDoor
- OnPlayWeaponHitEffects
- OnPlayerSwitchCamera
- OnPlayerEnterWater
- OnPlayerLeaveWater
- OnPlayerCrouch
- OnPlayerEndCrouch
- OnPlayerEndFall
- OnPlayerFall
- OnPlayerTalking