Garry's Mod Wiki

Garry's Mod Wiki

  DModelSelect:SetModelList( table models, string convar, boolean dontSort, boolean dontCallListConVars )

Description

Called to set the list of models within the panel element.

Arguments

1 table models
Each key is a model path, the value is a kay-value table where they key is a convar name and value is the value to set to that convar.
2 string convar
ConVar to set when a model from this list is selected.
3 boolean dontSort
Do not sort the list. (by the Model member)
4 boolean dontCallListConVars
If set, only the convar from the 2nd argument will be set, not individual convars from the models list.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...