BulletEntity:Collision

BulletEntity:Collision(entity: Entity, hit: RayCastHit, shooter: Player | nil)

Parameters

Name Type Description
entity Entity
hit RayCastHit
shooter Player | nil

Example

Hooks:Install('BulletEntity:Collision', 1, function(hook, entity, hit, shooter)
    -- Do stuff here.
end)