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)
Last modified March 2, 2023: docs: add changes that got added in 19985 (1999cff2)