Garry's Mod Wiki

ControlPresets:AddOption

  ControlPresets:AddOption( string strName, any data )

Description

Adds option to the DComboBox subelement with DComboBox:AddChoice then adds it to the options subtable

Arguments

1 string strName
Name
2 any data
data