Garry's Mod Wiki

Entity:GetMaterial

Entity:GetMaterial

string Entity:GetMaterial()

Description

Returns the material override for this entity.

Returns an empty string if no material override exists. Use Entity:GetMaterials to list it's default materials.

The server's value takes priority on the client.

Issue Tracker: 3362

Returns

1 string
material

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 2
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 6