Revision Difference
GM:TranslateActivity#551418
<function name="TranslateActivity" parent="GM" type="hook">
<ishook>yes</ishook>
<description>
<note>Isn't call when player CalcSeqOverride variable is egal to a valid sequence Id</note>⤶
<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>