Garry's Mod Wiki

Garry's Mod Wiki

  IMaterial:SetInt( string materialInt, number int )

Description

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

Please note that certain material flags such as $model are stored in the $flags variable and cannot be directly set with this function. See the full list here: Material Flags

Arguments

1 string materialInt
The name of the material int.
2 number int
The new int value.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...