Garry's Mod Wiki

GM:PlayerHandleAnimEvent

  GM:PlayerHandleAnimEvent( Player ply, number event, number eventTime, number cycle, number type, string options )

Description

Called before firing serverside animation events on the player models.

See GM:PlayerFireAnimationEvent for the clientside version.

Arguments

1 Player ply
The player who has triggered the event.
2 number event
The event ID of happened even. See this page.
3 number eventTime
The absolute time this event occurred using CurTime.
4 number cycle
The frame this event occurred as a number between 0 and 1.
5 number type
Event type. See the Source SDK.
6 string options
Name or options of this event.