Garry's Mod Wiki

duplicator.FigureOutRequiredAddons

  duplicator.FigureOutRequiredAddons( table dupe )

Description

Checks the given duplication table and tries to figure out any addons that might be required to correctly spawn the duplication. Currently this is limited to models and material overrides saved in the duplication.

Arguments

1 table dupe
The duplication table to process, for example from duplicator.Copy.

The provided table will have RequiredAddons key added.