CLEO Help CLEO HELP!!! How to add Activation/Deactivation code

CLEO related
Status
Not open for further replies.

ChristianIvann0939

Active member
Joined
Oct 30, 2013
Messages
68
Reaction score
0
Hi can you make an activation and deactivation code in my infinite health cleo mod?

Activate= F11
Deactivate= F12

Please Add it with text for example: "Infinite Health Has been ACTIVATED!" "Infinite Health has been DEACTIVATED"

Code:
// This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$VERSION 3.1.1000}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP

:NONAME_2
wait 0
if
   Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
062A: change_float_stat 24 to 1000.0
Actor.SetMaxHealth($PLAYER_ACTOR, 1000)
Actor.Health($PLAYER_ACTOR) = 1000
jump @NONAME_54

:NONAME_54
wait 0
1@ = Actor.Health($PLAYER_ACTOR)
1@ += 1000
Actor.Health($PLAYER_ACTOR) = 1@
else_jump @NONAME_96
jump @NONAME_54

:NONAME_96
wait 0
jump @NONAME_2
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
226
Location
( ͡° ͜ʖ ͡°)
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"

31@ = 0
WHILE TRUE
WAIT 0
    if
    0ADC:   test_cheat "H"
    then
        if
        31@ == 0 
        then
            062A: change_float_stat 24 to 1000.0
            Actor.Health($PLAYER_ACTOR) = 1000
            0ACD: show_text_highpriority "H on." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            31@ = 1
        else
            062A: change_float_stat 24 to 100.0
            Actor.Health($PLAYER_ACTOR) = 100
            0ACD: show_text_highpriority "H off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0  
            31@ = 0 
        end
    end
    if
    31@ == 1
    then
        Actor.Health($PLAYER_ACTOR) = 1000
    end
END
 

ChristianIvann0939

Active member
Joined
Oct 30, 2013
Messages
68
Reaction score
0
Code:
{$CLEO .cs}
0000:
0662: NOP "#########################"
0662: NOP "___Made by Opcode.eXe___"
0662: NOP "Www.Youtube.Com/OpcodeXe"
0662: NOP "#########################"

31@ = 0
WHILE TRUE
WAIT 0
    if
    0ADC:   test_cheat "H"
    then
        if
        31@ == 0 
        then
            062A: change_float_stat 24 to 1000.0
            Actor.Health($PLAYER_ACTOR) = 1000
            0ACD: show_text_highpriority "H on." time 1337
            018C: play_sound 1083 at 0.0 0.0 0.0
            31@ = 1
        else
            062A: change_float_stat 24 to 100.0
            Actor.Health($PLAYER_ACTOR) = 100
            0ACD: show_text_highpriority "H off." time 1337
            018C: play_sound 1084 at 0.0 0.0 0.0  
            31@ = 0 
        end
    end
    if
    31@ == 1
    then
        Actor.Health($PLAYER_ACTOR) = 1000
    end
END

What the heck is that? How to activate?
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Code:
{$CLEO}
0000:

while true
wait 0
if 0AB0: 123
then
wait 500
0AD1: "Shit cheat on" time 1500
062A: change_float_stat 24 to 1000.0
Actor.SetMaxHealth($PLAYER_ACTOR, 1000)
Actor.Health($PLAYER_ACTOR) = 1000
repeat 
wait 0
1@ = Actor.Health($PLAYER_ACTOR)
1@ += 1000
Actor.Health($PLAYER_ACTOR) = 1@
until 0AB0: 123
wait 500
0AD1: "Shit cheat off" time 1500
end
end
 
Status
Not open for further replies.
Top