UI:CreateSelfKilledMessage

UI:CreateSelfKilledMessage(killer: Player, weapon: SoldierWeaponUnlockAsset | VehicleEntityData | nil, isHeadshot: bool)

Parameters

Name Type Description
killer Player
weapon SoldierWeaponUnlockAsset | VehicleEntityData | nil
isHeadshot bool

Example

Hooks:Install('UI:CreateSelfKilledMessage', 1, function(hook, killer, weapon, isHeadshot)
    -- Do stuff here.
end)
Last modified March 12, 2023: update changelog 19985 (8dd1685e)