Garry's Mod Wiki

PropSelect:FindModelByValue

  SpawnIcon PropSelect:FindModelByValue( string mdl )

Recently Added

This was recently added in version (2024.09.02). It might only be available on the Dev Branch right now.

Description

Find a SpawnIcon panel based on the input model path.

Arguments

1 string mdl
The model to find within this PropSelect.

Returns

1 SpawnIcon
The found spawnicon, or nil.