Garry's Mod Wiki

Revision Difference

duplicator.IsAllowed#551866

<function name="IsAllowed" parent="duplicator" type="libraryfunc"> <description>Returns whether the entity can be duplicated or not</description> <realm>Shared</realm> <file line="306-L313">lua/includes/modules/duplicator.lua</file> <file line="349-L353">lua/includes/modules/duplicator.lua</file> <args> <arg name="classname" type="string">An entity's classname</arg> </args> <rets> <ret name="" type="boolean">Returns true if the entity can be duplicated (nil otherwise)</ret> </rets> </function>