Garry's Mod Wiki

Revision Difference

GM:TranslateActivity#553251

<function name="TranslateActivity" parent="GM" type="hook"> <ishook>yes</ishook>⤶ <description> <note>Isn't call when CalcMainActivity return a valid override sequence id</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>