Garry's Mod Wiki

Revision Difference

GM:TranslateActivity#511205

<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>⤶ </args>⤶ <rets>⤶ <ret name="" type="number">The new, translated activity</ret>⤶ </rets>⤶ </function>⤶ ⤶