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