Garry's Mod Wiki
Description
Called every time a bullet is about to be fired from an entity, which allows to completely modify the bullet structure before the bullet is actually fired.
See GM:PostEntityFireBullets if you wish to hook the final bullet values, such as the aim direction post spread calculations.
This hook is called directly from Entity:FireBullets. Due to this, you cannot call Entity:FireBullets inside this hook or an infinite loop will occur crashing the game.
Arguments
Returns
1 boolean
- Return
true
to apply all changes done to the bullet table. - Return
false
to suppress the bullet.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...