Jump to content

Radio Buttons and Normal Buttons


Baseplate

Recommended Posts

Guest Guest4401

You mean you want to check if a radio button is selected or not if a normal button is clicked? If so:

addEventHandler("onClientGUIClick",root, 
    function() 
        if source == button then -- check if he clicks the button 
            if guiRadioButtonGetSelected(radiobutton) then -- check if the radio button was selected as well 
                -- do something 
            else -- otherwise: 
                outputChatBox'y u no selekt the radio btn' -- remind him that he forgot to select the radio button. 
            end 
        end 
    end 
) 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...