CLEO Help Is possible to do this?

CLEO related

RazooorS

Active member
Joined
Feb 16, 2019
Messages
60
Reaction score
0
Can i transform .cs script to .exe file like in this video
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
hello respectful moderator there was a auto scroll on the web which activates with /scroll i think you were there sir but i cannot find it anymore plz help me thx sir
This is all what you need to make it.
So, do it!..
PHP:
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 // weapoin id

PHP:
:GET_AMMO_IN_CLIP
// 0AB0: @GET_AMMO_IN_CLIP 0 Current Ammo: 0@
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x718 // Current Weapon Slot
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x5A0 // Start of weapon data (28 bytes)
1@ *= 28
005A: 0@ += 1@ // Get weapon structure
0@ += 8 // Pointer to "Ammo in clip"
0A8D: 3@ = read_memory 0@ size 1 virtual_protect 0 // Ammo in clip
ret 1 3@
 

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
w
This is all what you need to make it.
So, do it!..
PHP:
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 // weapoin id

PHP:
:GET_AMMO_IN_CLIP
// 0AB0: @GET_AMMO_IN_CLIP 0 Current Ammo: 0@
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x718 // Current Weapon Slot
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x5A0 // Start of weapon data (28 bytes)
1@ *= 28
005A: 0@ += 1@ // Get weapon structure
0@ += 8 // Pointer to "Ammo in clip"
0A8D: 3@ = read_memory 0@ size 1 virtual_protect 0 // Ammo in clip
ret 1 3@
what should i do wit this i mean i just wanted the auto scroll a random guy had made me in his post or something that activates with /scroll but the problem is that it's auto activated if you can tell me how to make this toggle with F2 or num 1 or somehting like this simple it would be grateful
 

Attachments

  • Best-Autoscroll.cs
    18.7 KB · Views: 10
Last edited:

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
This is all what you need to make it.
So, do it!..
PHP:
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 // weapoin id

PHP:
:GET_AMMO_IN_CLIP
// 0AB0: @GET_AMMO_IN_CLIP 0 Current Ammo: 0@
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x718 // Current Weapon Slot
0A8D: 1@ = read_memory 0@ size 1 virtual_protect 0
0A96: 0@ = actor $PLAYER_ACTOR struct
0@ += 0x5A0 // Start of weapon data (28 bytes)
1@ *= 28
005A: 0@ += 1@ // Get weapon structure
0@ += 8 // Pointer to "Ammo in clip"
0A8D: 3@ = read_memory 0@ size 1 virtual_protect 0 // Ammo in clip
ret 1 3@
ok im trying my best but still dosen\t work :/
 

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
Code:
{$CLEO}
 
wait 0
 
repeat
    wait 0
until Player.Defined(0)
 
while true
    wait 0
    if and
    0AB0:   key_pressed 88
        not Actor.Driving($PLAYER_ACTOR)
        8818: not actor $PLAYER_ACTOR in_air
        0AB0: 2 // RBM
    then
        if 0AB0: 2
        then
            while 0AB0: 2
                wait 0
            end
 
            1@ = 0
 
            /* 1@ = -1
            for 0@ = 22 to 32 step 1 // List guns
                if or
                    1@ == 25
                    1@ == 26
                    1@ == 27
                then continue
                end
        
                if 02D8: actor $PLAYER_ACTOR current_weapon == 0@
                then
                    1@ = 0
                    break
                end
            end */
 
            if 1@ <> -1
            then
                0470: 0@ = actor $PLAYER_ACTOR current_weapon
                while true
                    wait 0
                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
                    0470: 1@ = actor $PLAYER_ACTOR current_weapon
                    if or
                        1@ == 0
                        1@ == 1
                    then break
                    end
                end
        
                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0@
            end
        end
    end
end
 

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
Code:
{$CLEO}
 
wait 0
 
repeat
    wait 0
until Player.Defined(0)
 
while true
    wait 0
    if and
    0AB0:   key_pressed 88
        not Actor.Driving($PLAYER_ACTOR)
        8818: not actor $PLAYER_ACTOR in_air
        0AB0: 2 // RBM
    then
        if 0AB0: 2
        then
            while 0AB0: 2
                wait 0
            end
 
            1@ = 0
 
            /* 1@ = -1
            for 0@ = 22 to 32 step 1 // List guns
                if or
                    1@ == 25
                    1@ == 26
                    1@ == 27
                then continue
                end
        
                if 02D8: actor $PLAYER_ACTOR current_weapon == 0@
                then
                    1@ = 0
                    break
                end
            end */
 
            if 1@ <> -1
            then
                0470: 0@ = actor $PLAYER_ACTOR current_weapon
                while true
                    wait 0
                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
                    0470: 1@ = actor $PLAYER_ACTOR current_weapon
                    if or
                        1@ == 0
                        1@ == 1
                    then break
                    end
                end
        
                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0@
            end
        end
    end
end
I tried to make it activate with x dosen''t work pls chekc whuts the problem
 
Top