Garry's Mod Wiki

GM:TranslateActivity

  number GM:TranslateActivity( Player ply, number act )

Description

Isn't call when CalcMainActivity return a valid override sequence id

Allows you to translate player activities.

Arguments

1 Player ply
The player
2 number act
The activity. See ACT enum

Returns

1 number
The new, translated activity