Garry's Mod Wiki

engine.OpenDupe

  string 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 string
Compressed dupeData. Use util.JSONToTable to make it into a format useable by the duplicator tool.