Garry's Mod Wiki

util.DecalMaterial

  string util.DecalMaterial( string decalName )

Description

Gets the full material path by the decal name. Used with util.DecalEx.

If decal specifies multiple materials, a random one will be chosen.

Arguments

1 string decalName
Name of the decal.

Returns

1 string
Material path of the decal.