Garry's Mod Wiki

duplicator.IsAllowed

  boolean duplicator.IsAllowed( string classname )

Description

Returns whether the entity can be duplicated or not

Arguments

1 string classname
An entity's classname

Returns

1 boolean
Returns true if the entity can be duplicated (nil otherwise)