Garry's Mod Wiki

Garry's Mod Wiki

  string util.GetActivityNameByID( number id )

Description

Returns a name for given activity ID. This is useful for models that define custom animation events.

See util.GetActivityIDByName for a function that does the opposite.

Arguments

1 number id
The ID of an activity from some hook. See also ACT enum.

Returns

1 string
The associated name with given activity ID.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...