Garry's Mod Wiki

PropSelect:AddModelEx

  PropSelect:AddModelEx( string value, string model, number skin )

Description

Adds a new model to the selection list.

Arguments

1 string value
The "value" for this model, which is used to set the ContextBase:SetConVar.
2 string model
Model path, including models/ and .mdl.
3 number skin
The skin number for this model. It will not be set to the convar, use the value argument to track skin-model combos.