Garry's Mod Wiki


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

Just Added

This was just added in the latest version (2020.10.14). It might only be available on the Dev Branch right now.


Called before firing serverside animation events on the player models.

See GM:PlayerFireAnimationEvent for the clientside version.


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.

Page Links

Special Pages



Render Time: 108ms

DB GetPage 67
Generate Html 17
SaveChanges (1) 9
Render Body 0
Render Sidebar 12