CLEO Help GUI activation in CLEO?

CLEO related
Status
Not open for further replies.

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
I want to make a CLEO with 3 hacks in it. But I want the activation for the hacks to be a menu where you check the boxes for the hacks to be turned on.

Like this

https://gyazo.com/649f69f6832399ffd2dcd398f27f4cc9

So I could have like 3 options like "Godmode" "Infinite Ammo" "Fly" so I could tick the boxes for them and they would be turned on/off.

How would I do this in CLEO?
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
Ok this makes dialogue but how do I use the dialogue to activate stuff. Like is there a way to check if the checkbox is checked than if it is than do this.
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,492
Reaction score
236
Location
( ͡° ͜ʖ ͡°)
        const
infiniteammo = 1
end

        IF
        0B92:  dialog FIGHTING checkbox InfinityAmmo is_checked
        THEN
            0AB4: 31@ VARIABLE= InfinityAmmo
            IF
            31@ == FALSE
            THEN
                0AB3: VARIABLE InfinityAmmo = TRUE
                0A8C: write_memory 0x969178 size 1 value TRUE virtual_protect 0         
            END
        ELSE
            0AB4: 31@ VARIABLE= InfinityAmmo
            IF
            31@ == TRUE
            THEN
                0AB3: VARIABLE InfinityAmmo = FALSE     
                0A8C: write_memory 0x969178 size 1 value FALSE virtual_protect 0                 
            END         
        END
 
Status
Not open for further replies.
Top