Garry's Mod Wiki


  boolean GM:PlayerFireAnimationEvent( Player ply, Vector pos, Angle ang, number event, string name )


Called before firing clientside animation events on a player model.

See GM:PlayerHandleAnimEvent for the serverside version.


1 Player ply
The player who has triggered the event.
2 Vector pos
Position of the effect
3 Angle ang
Angle of the effect
4 number event
The event ID of happened even. See this page.
5 string name
Name of the event


1 boolean
Return true to disable the effect