Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12