- Documentation
- Client functions
- guiRadioButtonSetSelected
Function
guiRadioButtonSetSelected
Selects a radio button in its group (the others are deselected).
Syntax
bool guiRadioButtonSetSelected(gui-radiobutton guiRadioButton, bool state)Arguments
guiRadioButtongui-radiobutton- The radio button.
statebooltrueselects it.
Returns
true on success.
Example
guiRadioButtonSetSelected(day, true)