Revision Difference
GM:CanUndo#527417
<function name="CanUndo" parent="GM" type="hook">⤶
<ishook>yes</ishook>⤶
<description>Called whenever a players tries to undo.</description>⤶
<realm>Client</realm>⤶
<added>2020.06.24</added>⤶
<args>⤶
<arg name="ply" type="Player">The player who tried to undo something</arg>⤶
<arg name="undo" type="table">The undo table</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="boolean">Return false to disallow the undo</ret>⤶
</rets>⤶
</function>⤶
⤶