Entity.FireBullets
From GMod Wiki
Function | |
Syntax | Entity:FireBullets( Table :Bullet bulletstruct ) |
Description: | |
Fires bullets from the entity. | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.FireBullets]Entity.FireBullets [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- You will need to play the firing sound effects for the bullets manually.
- This function actually does NOT perform lag compensation automatically. If you are using it in a weapon, make sure to wrap it between two calls to Player.LagCompensation.