Garry's Mod Wiki

IMaterial:SetString

  IMaterial:SetString( string materialString, string string )

Description

Sets the specified material value to the specified string, does nothing on a type mismatch.

Arguments

1 string materialString
The name of the material string.
2 string string
The new string.