Garry's Mod Wiki


string DComboBox:GetOptionTextByData( string data )


Returns an option's text based on the given data.


1 string data
The data to look up the name of.

If given a number and no matching data was found, the function will test given data against each tonumber'd data entry.


1 string
The option's text value.

If no matching data was found, the data itself will be returned. If multiple identical data entries exist, the first instance will be returned.

Page Links

Special Pages



Render Time: 29ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 12