Revision Difference
GM:OnAchievementAchieved#511151
<function name="OnAchievementAchieved" parent="GM" type="hook">⤶
<ishook>yes</ishook>⤶
<description>Called when a player has achieved an achievement. You can get the name and other information from an achievement ID with the <page>achievements</page> library.</description>⤶
<realm>Client</realm>⤶
<predicted>No</predicted>⤶
<args>⤶
<arg name="ply" type="Player">The player that earned the achievement</arg>⤶
<arg name="achievement" type="number">The index of the achievement</arg>⤶
</args>⤶
</function>⤶
⤶