ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. guiRadioButtonSetSelected

Function

guiRadioButtonSetSelected

ClientInterface (GUI)Identical to MTA:SA

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.
statebool
true selects it.

Returns

true on success.

Example

guiRadioButtonSetSelected(day, true)