DMultiChoice.ChooseOptionID

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:ChooseOptionID( Number ID )
Description:
Selects an option from the list by its ID
Returns: nil
In Object: DMultiChoice
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DMultiChoice.ChooseOptionID]DMultiChoice.ChooseOptionID [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionThis will get the 4th option in myPanel
Used onNewerClient.png
Code
myPanel:ChooseOptionID( 4 )
OutputSelects the 4th option in myPanel and sets it in the text.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox