Garry's Mod Wiki

IMaterial:GetString

  string IMaterial:GetString( string materialString )

Description

Returns the specified material string, or nil if the value is not set or if the value can not be converted to a string.

Arguments

1 string materialString
The name of the material string.

Returns

1 string
The value as a string