Garry's Mod Wiki

PropSelect:OnSelect

  PropSelect:OnSelect( Panel pnl, String model )

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 Panel pnl
The Spawnicon that was clicked.
2 String model
Path of the selected model, or its "value".