Garry's Mod Wiki

PropSelect:OnSelect

  PropSelect:OnSelect( string model, Panel pnl )

Recently Added

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

Description

Called when the player selects a model.

Arguments

1 string model
Path of the selected model, or its "value".
2 Panel pnl
The Spawnicon that was clicked.