Make a radio button
In making a radio button, we use the following function.
ui_radio_create(x, y, size, label);
Return: Ds_map
Where x and y is the position of the radio buttons are placed, the size is the size of radio button, the default size will be worth 18. Finally we add a text label to label argument.
optionMale = ui_radio_create(64, 100, ui_default, "Male");
optionFemale = ui_radio_create(64, 132, ui_default, "Female");
The above line of code is used to create two radio button in the group "ui_default_group".