CLEO Help sawn-off scroll

CLEO related
Status
Not open for further replies.

fatetmp

New member
Joined
Apr 4, 2021
Messages
1
Reaction score
0
Location
'==-
Can anyone make a on/off button for this auto scroll and if possible make it only for sawn off shotgun
Note - Don't give me any other sawn-off scroll this is the best one i have found
Code:
{$CLEO}

wait 0

repeat
    wait 0
until Player.Defined(0)

while true
    wait 0
    if and
        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
 

Attachments

  • sawn off scroll.cs
    18.7 KB · Views: 37

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
lmao i have the same auto-scroll but same problem as yours :/ imtrying to learn scripting from youtube btw if i can make it i will give u
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
SUPER SIMPLE..
PHP:
{$CLEO .cs}

0000: NOP

REPEAT
WAIT 1000
0A8D: 0@ = readMem 0xC8D4C0 sz 4 vp 0
UNTIL 0@ == 9 // SAMP_IS_READY

WHILE TRUE
WAIT 0
  
IF 0ADC:   test_cheat "L"
THEN
    IF 31@ == FALSE
    THEN
        31@ = TRUE
        0AD1: "ON" 1337
    ELSE
        31@ = FALSE
        0AD1: "OFF" 1337
    END
END

IF 31@ == TRUE
THEN
    IF AND
    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

END
 

himelBD

Active member
Joined
Sep 1, 2020
Messages
79
Reaction score
6
Location
Bangladesh
OMG imma test it right now


EDIT :

Accurate : check
Aimable : check
SuperFast : check
Undetectable : not check because it looks like no-reload but if recording you're ok :)
 
Last edited:
Status
Not open for further replies.
Top