UI:CreateKillMessage

UI:CreateKillMessage(victimId: int, killerId: int, weapon: SoldierWeaponUnlockAsset | VehicleEntityData | nil, isHeadshot: bool)

Parameters

Name Type Description
victimId int
killerId int
weapon SoldierWeaponUnlockAsset | VehicleEntityData | nil
isHeadshot bool

Example

Hooks:Install('UI:CreateKillMessage', 1, function(hook, victimId, killerId, weapon, isHeadshot)
    -- Do stuff here.
end)