Garry's Mod Wiki

SANDBOX:CanArmDupe

  boolean SANDBOX:CanArmDupe( Player ply )

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.

Arguments

1 Player ply
The player who attempted to arm a dupe.

Returns

1 boolean
Can the player arm a dupe or not.