Garry's Mod Wiki

Player:DoCustomAnimEvent

  Player:DoCustomAnimEvent( number event, number data )

Description

Sends a specified third person animation event to the player.

Calls GM:DoAnimationEvent with specified arguments.

Arguments

1 number event
The event to send. See PLAYERANIMEVENT enum.
2 number data
The data to send alongside the event.