Garry's Mod Wiki

Revision Difference

SANDBOX:CanArmDupe#527384

<function name="CanArmDupe" parent="SANDBOX" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called when a player attempts to "arm" a duplication with the Duplicator tool. Return false to prevent the player from sending data to server, and to ignore data if it was somehow sent anyway.</description>⤶ <realm>Shared</realm>⤶ <added>2020.06.24</added>⤶ <args>⤶ <arg name="ply" type="Player">The player who attempted to arm a dupe.</arg>⤶ ⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Can the player arm a dupe or not.</ret>⤶ </rets>⤶ </function>⤶