Garry's Mod Wiki

Revision Difference

GM:TranslateActivity#517791

<function name="TranslateActivity" parent="GM" type="hook"> <ishook>yes</ishook> <description>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 &lt;page&gt;ACT&lt;/page&gt;</arg>⤶ <arg name="act" type="number">The activity. See <page>ACT</page></arg>⤶ </args> <rets> <ret name="" type="number">The new, translated activity</ret> </rets> </function>