Garry's Mod Wiki

engine.WriteDupe

  engine.WriteDupe( string dupe, string jpeg )

Description

This is used internally - although you're able to use it you probably shouldn't. Do not use.

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