Garry's Mod Wiki

AddonMaterial

AddonMaterial

  IMaterial AddonMaterial( string name )

Description

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

Arguments

1 string name
The name of the file.

Returns

1 IMaterial
The material, returns nil if the cached file is not an image.

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 45
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 7