Garry's Mod Wiki

MatSelect:FindAndSelectMaterial

  MatSelect:FindAndSelectMaterial( string mat )

Description

Find a material and selects it, if it exists in this panel.

Arguments

1 string mat
The material to find and select within this MatSelect.