Garry's Mod Wiki

Revision Difference

GM:TranslateActivity#551416

<function name="TranslateActivity" parent="GM" type="hook"> <ishook>yes</ishook> <description>Allows you to translate player activities.</description>⤶ <description>⤶ <note>Isn't call when player CalcSeqOverride variable is not egal to -1</note>⤶ Allows you to translate player activities.⤶ </description>⤶ <realm>Shared</realm> <args> <arg name="ply" type="Player">The player</arg> <arg name="act" type="number">The activity. See <page>Enums/ACT</page></arg> </args> <rets> <ret name="" type="number">The new, translated activity</ret> </rets> </function>