Code: Select all
function CECheckbox1Change(sender) --this is the function that gets called when the state of 'checkbox1' changes
if (UDF1.CECheckbox1.State==cbChecked)then --check if 'checkbox1' is checked
--something --place your code here (whatever you want to happen when check the box)
else --if the box is unchecked
--something else --place your code here (whatever you want to happen when you uncheck the box)
end --end of 'if'
end --end of the checkbox
Change value Float Enabled Box to "15"
Change value Float Disabled to "0"
Code: Select all
function CECheckbox1Change(sender)
if (UDF1.CECheckbox1.State==cbChecked)then
writeFloat("[[[[[trove.exe+0106FC64]+0]+28]+C4]+4]+94",15)
else
writeFloat("[[[[[trove.exe+0106FC64]+0]+28]+C4]+4]+94",0)
end
end
need help for correct script work this Checkbox