CLEO Help Tell me why does this cleo script doesn't work.

CLEO related
Status
Not open for further replies.

lol7

Active member
Joined
Apr 3, 2013
Messages
120
Reaction score
1
Location
Blumenau, Santa Catarina, Brasil
Code:
{$CLEO .cs}

0000: NOP

:NONAME_1
wait 0
if
056D:   actor $PLAYER_ACTOR defined
else_jump @NONAME_1
if
Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_1
00D9: $MR_S0BEIT = actor $PLAYER_ACTOR car
if
056E:   car $MR_S0BEIT defined
else_jump @NONAME_1
jump @NONAME_2

:NONAME_2
wait 1
if
  0AB0: 88
jf @NONAME_1
0A8D: 29@ = read_memory 0xB74494 size 4 virtual_protect 0
29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
for 30@ = 0 to 27904 step 0x100
    0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
    000A: 29@ += 0x1
    if and
        0029: 31@ >= 0x00 
        001B: 0x80 > 31@
    then
        005A: 31@ += 30@
        if
        803B:  not 31@ == $MR_S0BEIT  // (int)
        then
        // GOT THE CAR.
        036A: put_actor $PLAYER_ACTOR in_car 31@ 
        036A: put_actor $PLAYER_ACTOR in_car 31@ 
        036A: put_actor $PLAYER_ACTOR in_car 31@
        call @NONAME_347 1 4.0 0@ 1@ 2@
        Car.StorePos($MR_S0BEIT, 3@, 4@, 5@)
        4@ += 7.0
        5@ += 5.0
        Car.PutAt(31@, 3@, 4@, 5@)
        07D5: set_car 31@ velocity_in_direction_XYZ 0@ 1@ 2@ rotation_velocitiesXY 0.0 0.0 unk 0.0
        wait 80
        036A: put_actor $PLAYER_ACTOR in_car $MR_S0BEIT
        036A: put_actor $PLAYER_ACTOR in_car $MR_S0BEIT
        036A: put_actor $PLAYER_ACTOR in_car $MR_S0BEIT
    end
end
// FOR ALLCARS END
jump @NONAME_2

:NONAME_347
0087: 13@ = 0@ // (float) 
Car.StorePos($MR_S0BEIT, 20@, 21@, 22@)
068D: get_camera_position_to 24@ 25@ 26@ 
0063: 20@ -= 24@ // (float) 
0063: 21@ -= 25@ // (float) 
0063: 22@ -= 26@ // (float) 
Car.StorePos($MR_S0BEIT, 0@, 1@, 2@)
006B: 20@ *= 13@ // (float) 
006B: 21@ *= 13@ // (float) 
006B: 22@ *= 13@ // (float) 
005B: 22@ += 13@ // (float) 
005B: 0@ += 20@ // (float) 
005B: 1@ += 21@ // (float) 
005B: 2@ += 22@ // (float) 
Car.StorePos($MR_S0BEIT, 3@, 4@, 5@)
0063: 0@ -= 3@ // (float) 
0063: 1@ -= 4@ // (float) 
0063: 2@ -= 5@ // (float) 
ret 3 0@ 1@ 2@

"But lol7, why do you say it doesn't work? How?"

The script should shoot all streamed cars around me, while I'm driving in a car, where I'm looking at. But nothing happens, no crashes too.
 

Pinii

Active member
Joined
Sep 18, 2013
Messages
126
Reaction score
0
tell me where you got this, unless you are the creator.

if it's googled It must be samp version. I'll try this cheat and tell you
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
1.) The first time you enter a car, the script goes into a LOOP - it will only store the first car you entered as $MR_S0BEIT.
2.) The script is like really old shit, pasted into other shit.

You should take a better look at it.... there's too much wrong.
Also dont use $LOL, $MR_SOBEIT, use 1@ - 31@
 
Status
Not open for further replies.
Top