- Documentation
- Client functions
- guiRadioButtonGetSelected
Function
guiRadioButtonGetSelected
Checks whether a radio button is selected.
Syntax
bool guiRadioButtonGetSelected(gui-radiobutton guiRadioButton)Arguments
guiRadioButtongui-radiobutton- The radio button.
Returns
true if selected.
Example
local hour = guiRadioButtonGetSelected(night) and 0 or 12