Garry's Mod Wiki


Entity:FireBullets( table bulletInfo, boolean suppressHostEvents = false )


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 hook.


1 table bulletInfo
The bullet data to be used. See the Structures/Bullet.
2 boolean suppressHostEvents = false
Has the effect of encasing the FireBullets call in SuppressHostEvents, only works in multiplayer.

Page Links

Special Pages



Render Time: 36ms

DB GetPage 5
Generate Html 4
SaveChanges (1) 12
Render Body 0
Render Sidebar 12