Garry's Mod Wiki

PropSelect:AddModel

  PropSelect:AddModel( string model, table convars )

Description

Adds a new model to the selection list.

Arguments

1 string model
Model path, including models/ and .mdl.
2 table convars
A list of convar names (as keys) and their values to set when the user selects this model.