Player:Killed
Player:Killed(player: Player, inflictor: Player | nil, position: Vec3, weapon: string, isRoadKill: bool, isHeadShot: bool, wasVictimInReviveState: bool, info: DamageGiverInfo)
Parameters
Name | Type | Description |
---|---|---|
player | Player | |
inflictor | Player | nil | |
position | Vec3 | |
weapon | string | |
isRoadKill | bool | |
isHeadShot | bool | |
wasVictimInReviveState | bool | |
info | DamageGiverInfo |
Example
Events:Subscribe('Player:Killed', function(player, inflictor, position, weapon, isRoadKill, isHeadShot, wasVictimInReviveState, info)
-- Do stuff here.
end)
Last modified April 27, 2020: Regenerate all API documentation (0b49d6be)