Garry's Mod Wiki
Description
Fires a bullet.
When used in a hook such as WEAPON:Think or WEAPON:PrimaryAttack, it will use Player:LagCompensation internally.
Lag compensation will not work if this function is called in a timer, regardless if the timer was made in a predicted hook.
Due to how Entity:FireBullets
is set up internally, bullet tracers will always originate from attachment 1. This can be avoided by supplying your own tracer effect.
When firing bullets from a Weapon, it is recommended to fire bullets from the weapon owner entity (Player or NPC), not the Weapon itself.
Arguments
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...