Garry's Mod Wiki

engine.OpenDupe

  table engine.OpenDupe( string dupeName )

Description

Loads a duplication from the local filesystem.

Arguments

1 string dupeName
Name of the file. e.g, engine.OpenDupe("dupes/8b809dd7a1a9a375e75be01cdc12e61f.dupe")

Returns

1 table
A table with a simple field:
  • string data - Compressed dupe data. Use util.JSONToTable to make it into a format useable by the duplicator tool.