Garry's Mod Wiki

GM:PlayerFireAnimationEvent

GM:PlayerFireAnimationEvent

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

Description

Called before firing clientside animation events on a player model.

See GM:PlayerHandleAnimEvent for the serverside version.

Arguments

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

Returns

1 boolean
Return true to disable the effect

Special Pages


Wikis

?

Render Time: 54ms

DB GetPage 32
Generate Html 8
SaveChanges (1) 6
Render Body 0
Render Sidebar 6