AddonMaterial

From Garry's Mod
Jump to: navigation, search
 AddonMaterial( )

Description

Loads the specified image from the /cache folder, used in combination steamworks.Download.
Most addons will provide a 512x512 png image.

Arguments

string name

The name of the file.

Returns

IMaterial

The material, returns nil if the cached file is not an image.
Personal tools
Navigation