Garry's Mod Wiki

MatSelect:SelectMaterial

  MatSelect:SelectMaterial( DImageButton mat )

Description

Selects a given material panel.

Arguments

1 DImageButton mat
The material to select, found by MatSelect:FindMaterialByValue