UI:CreateKilledOtherMessage

UI:CreateKilledOtherMessage(victim: Player, weapon: SoldierWeaponUnlockAsset | VehicleEntityData | nil, isHeadshot: bool)

Parameters

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

Example

Hooks:Install('UI:CreateKilledOtherMessage', 1, function(hook, victim, weapon, isHeadshot)
    -- Do stuff here.
end)