- 10
- 4
Помогите кто может, не могу компилировать данное творение из преисподни)
cruisecontrolshift:
{$CLEO .cs}
{$USE CLEO+}
00D6: if
0AA9: is_game_version_original
004D: jump_if_false @Noname_30
0006: 7@ = 5503856
0002: jump @Noname_40
:Noname_30
0006: 7@ = 5505040
:Noname_40
0AA7: call_function 7@ num_params 1 pop 1 0 10@
:Noname_55
0001: wait 0 ms
00D6: if and
00DF: actor $PLAYER_ACTOR driving
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
004D: jump_if_false @Noname_582
00D6: if
0039: 1@ == 0
004D: jump_if_false @Noname_128
if and
0AB0: key_pressed 16
8B21: not samp is_chat_opened
004D: jump_if_false @Noname_121
0006: 1@ = 1
:Noname_121
0002: jump @Noname_332
:Noname_128
00D6: if
0039: 1@ == 1
004D: jump_if_false @Noname_187
00D6: if
8AB0: not key_pressed 16
004D: jump_if_false @Noname_180
0006: 1@ = 2
018C: play_sound 1056 at 0 0 0
:Noname_180
0002: jump @Noname_332
:Noname_187
00D6: if
0039: 2@ == 0
004D: jump_if_false @Noname_318
00D6: if
80E1: not player 0 pressed_key 16
004D: jump_if_false @Noname_311
0006: 1@ = 0
03C0: 0@ = actor $PLAYER_ACTOR car
02E3: 4@ = car 0@ speed
00D6: if
0021: 4@ > 1.0
004D: jump_if_false @Noname_311
000B: 4@ += 0.25
0006: 2@ = 1
0001: wait 100 ms
018C: play_sound 1057 at 0 0 0
03CC: enable_car 0@ stuck_check_distance_to 1.0 time_to 500
:Noname_311
0002: jump @Noname_332
:Noname_318
0006: 1@ = 0
0050: gosub @Noname_614
:Noname_332
00D6: if
0039: 2@ == 1
004D: jump_if_false @Noname_575
00D6: if
83CE: not car 0@ stuck
004D: jump_if_false @Noname_568
02E3: 3@ = car 0@ speed
0087: 5@ = 4@ // (float)
0063: 5@ -= 3@ // (float)
00D6: if
001B: 0 > 5@
004D: jump_if_false @Noname_422
0006: 6@ = 28
0002: jump @Noname_429
:Noname_422
0006: 6@ = 32
:Noname_429
00D6: if and
80E1: not player 0 pressed_key 14
80E1: not player 0 pressed_key 16
004D: jump_if_false @Noname_554
0097: make 5@ absolute_float
0013: 5@ *= 10.0
00D6: if
0021: 5@ > 90.0
004D: jump_if_false @Noname_498
0007: 5@ = 90.0
:Noname_498
02F6: 8@ = sine 5@ // (float)
0013: 8@ *= 255.0
0092: 9@ = float 8@ to_integer
0A8E: 11@ = 10@ + 6@ // int
0A8C: write_memory 11@ size 2 value 9@ virtual_protect 0
0002: jump @Noname_561
:Noname_554
0050: gosub @Noname_614
:Noname_561
0002: jump @Noname_575
:Noname_568
0050: gosub @Noname_614
:Noname_575
0002: jump @Noname_607
:Noname_582
00D6: if
0039: 2@ == 1
004D: jump_if_false @Noname_607
0050: gosub @Noname_614
:Noname_607
0002: jump @Noname_55
:Noname_614
018C: play_sound 1057 at 0 0 0
0001: wait 100 ms
018C: play_sound 1056 at 0 0 0
0006: 2@ = 0
03CD: disable_car 0@ stuck_check
0051: return