Garry's Mod Wiki
boolean WEAPON:FireAnimationEvent( Vector pos, Angle ang, number event, string options, Entity source )
Description
Called before firing animation events, such as muzzle flashes or shell ejections.
This will only be called serverside for 3000-range events, and clientside for 5000-range and other events.
Arguments
5 Entity source
The source entity. This will be a viewmodel on the client and the weapon itself on the server
Returns
Example
Disables muzzle flashes. Taken from tool gun source code.
Example
Counter-Strike: Source like muzzle flashes.
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 twice a day. Edits and history are not available.
Last Parsed: Loading...