Garry's Mod Wiki

engine.WriteDupe

  engine.WriteDupe( string dupe, string jpeg )

Description

Saves a duplication as a file.

Arguments

1 string dupe
Dupe table, encoded by util.TableToJSON and compressed by util.Compress
2 string jpeg
The dupe icon, created by render.Capture