Entity/GetMaterial

From Garry's Mod
Jump to: navigation, search
 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.

BUG

The server's value takes priority on the client.

Issue Tracker: #3362

Returns

string

material
Personal tools
Navigation