Garry's Mod Wiki

DComboBox:GetSelectedID

  number DComboBox:GetSelectedID()

Description

Returns the index (ID) of the currently selected option.

Returns

1 number
The ID of the currently selected option.