Garry's Mod Wiki
Description
This allows you to register tweaks to entities. For instance, if you were making an "unbreakable" addon, you would use this to enable saving the "unbreakable" state of entities between duplications.
This function registers a piece of generic code that is run on all entities with this modifier. In order to have it actually run, use duplicator.StoreEntityModifier.
This function does nothing when run clientside.
Arguments
1 string name
An identifier for your modification. This is not limited, so be verbose.
Person's 'Unbreakable' mod
is far less likely to cause conflicts than unbreakable
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...