Garry's Mod Wiki

PropSelect:OnSelect

  PropSelect:OnSelect( Panel pnl, String model )

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".