Part of StarfallEx namespace
๐ External
hook.add("EntityFireBullets", "name", function(ent, data) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called every time a bullet is fired from an entity
Parameters
| Name | Type | Description |
|---|---|---|
ent | Entity | The entity that fired the bullet |
data | table | The bullet data. See http://wiki.facepunch.com/gmod/Structures/Bullet |
Returns
| Type | Description |
|---|---|
function | Optional callback to called as if it were the Bullet structure's Callback. Called before the bullet deals damage with attacker, traceResult. |
Examples
No examples available.
Used In
No usages found in the codebase.