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 its default materials.

The server's value takes priority on the client.

Issue Tracker: 3362

Returns

1 string
material