ENTITY/FireAnimationEvent
From Garry's Mod
ENTITY:FireAnimationEvent( )
Contents |
Description
Called before firing clientside animation events, such as muzzle flashes or shell ejections.
See ENTITY:HandleAnimEvent for the serverside version.
NOTE |
This hook only works on "anim" and "ai" type entities. |
Arguments
Vector pos
Position of the effect
Arguments
Angle ang
Angle of the effect
Arguments
Arguments
string name
Name of the event
Returns
Return true to disable the effect