Help Cleo

TheMarioTR

Новичок
Автор темы
14
0
Instead of opening with num1 and closing with num2, I just want to close it with num1 and open it.
Код:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'FLYINGCAR'
1@ = 0
2@ = 0.0

:FLYINGCAR_36
wait 0
if or
0AB0:   key_pressed 97
0AB0:   key_pressed 97
jf @FLYINGCAR_77
03E5: show_text_box 'FLY'
jump @FLYINGCAR_84

:FLYINGCAR_77
jump @FLYINGCAR_36

:FLYINGCAR_84
wait 0
if and
  1@ == 0
0449:   actor $PLAYER_ACTOR in_a_car
jf @FLYINGCAR_161
10@ = Actor.CurrentCar($PLAYER_ACTOR)
Car.SetImmunities(10@, 1, 1, 1, 1, 1)
01EC: make_car 10@ very_heavy 1
0A30: repair_car 10@
02E3: 5@ = car 10@ speed
1@ = 1

:FLYINGCAR_161
if or
0AB0:   key_pressed 98
0AB0:   key_pressed 98
jf @FLYINGCAR_205
1@ = 0
03E5: show_text_box 'NOTFLY'
jump @FLYINGCAR_36

:FLYINGCAR_205
if
8449:   not actor $PLAYER_ACTOR in_a_car
jf @FLYINGCAR_235
1@ = 0
jump @FLYINGCAR_84

:FLYINGCAR_235
if and
00E1:   player 0 pressed_key 4
00E1:   player 0 pressed_key 6
jf @FLYINGCAR_293
07D5: set_car 10@ velocity_in_direction_XYZ 0.0 0.0 0.05 rotation_velocitiesXY 0.0 0.0 unk 0.0

:FLYINGCAR_293
if
   Actor.DrivingPlane($PLAYER_ACTOR)
jf @FLYINGCAR_316
jump @FLYINGCAR_84

:FLYINGCAR_316
0819: 21@ = actor $PLAYER_ACTOR distance_from_ground
if
  0.5 > 21@
jf @FLYINGCAR_355
21@ = 0.5

:FLYINGCAR_355
0494: get_joystick 0 direction_offset_to 16@ 17@ 31@ 31@
008D: 16@ = integer 16@ to_float
008D: 17@ = integer 17@ to_float
16@ /= -128.0
if
047A:   actor $PLAYER_ACTOR driving_bike
jf @FLYINGCAR_430
17@ /= 64.0
jump @FLYINGCAR_440

:FLYINGCAR_430
17@ /= 128.0

:FLYINGCAR_440
if
00E1:   player 0 pressed_key 6
jf @FLYINGCAR_518
16@ *= 2.0
17@ *= 1.5
5@ -= 2.5
if
  0.0 > 5@
jf @FLYINGCAR_518
5@ = 0.0

:FLYINGCAR_518
if
00E1:   player 0 pressed_key 14
jf @FLYINGCAR_545
5@ -= 1.5

:FLYINGCAR_545
if and
00E1:   player 0 pressed_key 6
00E1:   player 0 pressed_key 14
jf @FLYINGCAR_631
5@ = 0.0
Car.SetSpeedInstantly(10@, 5@)
0731: set_car 10@ y_angle_to 0.0
07D5: set_car 10@ velocity_in_direction_XYZ 0.0 0.0 0.0 rotation_velocitiesXY 0.0 0.0 unk 0.0

:FLYINGCAR_631
if
00E1:   player 0 pressed_key 16
jf @FLYINGCAR_696
if
  5@ > 60.0
jf @FLYINGCAR_686
5@ += 1.0
jump @FLYINGCAR_696

:FLYINGCAR_686
5@ += 2.0

:FLYINGCAR_696
if
847A:   not actor $PLAYER_ACTOR driving_bike
jf @FLYINGCAR_802
06BE: 3@ = car 10@ y_angle
if and
  3@ > 1.0
  180.0 > 3@
jf @FLYINGCAR_761
2@ = 0.5

:FLYINGCAR_761
if and
  3@ > -180.0
  -1.0 > 3@
jf @FLYINGCAR_802
2@ = -0.5

:FLYINGCAR_802
if and
00E1:   player 0 pressed_key 4
00E1:   player 0 pressed_key 6
jf @FLYINGCAR_846
07DB: set_car 10@ rotation_velocity_XYZ 17@ 2@ 16@ through_center_of_mass
jump @FLYINGCAR_868

:FLYINGCAR_846
Car.SetSpeedInstantly(10@, 5@)
07DB: set_car 10@ rotation_velocity_XYZ 17@ 2@ 16@ through_center_of_mass

:FLYINGCAR_868
2@ = 0.0
jump @FLYINGCAR_84