[shcode=cpp]
while true
wait 0
if 3@ == 1 // MainThread
then
0B8D: samp set_cursor_mode 2
0B86: samp dialog 2@ set_visible true
else if 3@ == 0
then
0B86: samp dialog 2@ set_visible false
0B86: samp dialog 4@ set_visible false
0B86: samp dialog 5@ set_visible false
"Dialog.UnCheckBoxIsChecked(2@,1)" (looking for this opcode if it exists)
end
end
if Dialog.CheckBoxIsChecked(2@, 1) // MiscThread
then
0B8D: samp set_cursor_mode 2
0B86: samp dialog 4@ set_visible true
else if not Dialog.CheckBoxIsChecked(2@, 1)
then 0B86: samp dialog 4@ set_visible false
end
end [/shcode]
nvm i found it
[shcode=cpp]Dialog.SetCheckBoxChecked(dialog,checkbox,checked(true/false))[/shcode]
while true
wait 0
if 3@ == 1 // MainThread
then
0B8D: samp set_cursor_mode 2
0B86: samp dialog 2@ set_visible true
else if 3@ == 0
then
0B86: samp dialog 2@ set_visible false
0B86: samp dialog 4@ set_visible false
0B86: samp dialog 5@ set_visible false
"Dialog.UnCheckBoxIsChecked(2@,1)" (looking for this opcode if it exists)
end
end
if Dialog.CheckBoxIsChecked(2@, 1) // MiscThread
then
0B8D: samp set_cursor_mode 2
0B86: samp dialog 4@ set_visible true
else if not Dialog.CheckBoxIsChecked(2@, 1)
then 0B86: samp dialog 4@ set_visible false
end
end [/shcode]
nvm i found it
[shcode=cpp]Dialog.SetCheckBoxChecked(dialog,checkbox,checked(true/false))[/shcode]