Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.hook.PostEntityFireBullets

S๐Ÿท๏ธ Hooks

Part of StarfallEx namespace

๐Ÿ”— External
hook.add("PostEntityFireBullets", "name", function(ent, data) end)
View on GitHub|lua/starfall/libs_sh/hook.lua:568
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Called after a bullet is fired and it's trace has been calculated

Parameters

NameTypeDescription
entEntityThe entity that fired the bullet
datatableA table containing Trace (See http://wiki.facepunch.com/gmod/Structures/TraceResult) and AmmoType, Tracer, Damage, Force, Attacker, TracerName (see http://wiki.facepunch.com/gmod/Structures/Bullet)

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.