Garry's Mod Wiki

IMaterial:SetInt

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.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 3
Generate Html 6
SaveChanges 9
Render Body 0
Render Sidebar 12