Get()

Returns if the checkbox is checked or not

local bCheckBox = Menu.AddCheckbox("Checkbox", "VariableName", false)

if bCheckBox:Get() then
    -- do function
end

Last updated