OnPlayerDeath: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Event|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|OnPlayerDeath}} {{FuncParameters}} == Example == __EDIT_ME__ {{RelatedFunctions}} {{ServerEvents}}" |
No edit summary |
||
Line 3: | Line 3: | ||
{{FuncDescription|__EDIT_ME__}} | {{FuncDescription|__EDIT_ME__}} | ||
{{FuncSyntax|OnPlayerDeath}} | {{FuncSyntax|OnPlayerDeath(player, instigator)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|player|The player that has died.}} | |||
{{FuncParam|instigator|The player who is responsible for the death.}} | |||
== Example == | == Example == | ||
__EDIT_ME__ | __EDIT_ME__ |
Revision as of 22:03, 22 March 2019
Description
__EDIT_ME__
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
Player
- OnPlayerServerAuth
- OnPlayerSteamAuth
- OnPlayerDownloadFile
- OnPlayerStreamIn
- OnPlayerStreamOut
- OnPlayerPickupHit
- OnPlayerJoin
- OnPlayerQuit
- OnPlayerSpawn
- OnPlayerDeath
- OnPlayerWeaponShot
- OnPlayerDamage
- OnPlayerChat
- OnPlayerChatCommand
- OnPlayerInteractDoor
- OnPlayerChangeDimension
Vehicle
- OnPlayerEnterVehicle
- OnPlayerLeaveVehicle
- OnPlayerStateChange
- OnVehicleRespawn
- OnVehicleStreamIn
- OnVehicleStreamOut
- OnVehicleDamage
- OnVehicleChangeDimension
- OnVehicleCreated
- OnVehicleDestroyed
Game
Package
NPC
- OnNPCReachTarget
- OnNPCDamage
- OnNPCSpawn
- OnNPCDeath
- OnNPCStreamIn
- OnNPCStreamOut
- OnNPCChangeDimension
- OnNPCCreated
- OnNPCDestroyed
Object
- OnObjectStopMoving
- OnObjectChangeDimension
- OnObjectCreated
- OnObjectDestroyed
- OnObjectStreamIn
- OnObjectStreamOut