Su-27 Afterburner

 


Model By: belami source: https://libertycity.net/files/gta-san-andreas/239152-sukhoi-su-27.html

download: https://libertycity.net/files/246278-su-27-afterburner.html

uncompiled cleo:

// This file was decompiled using SASCM.ini

{$CLEO .csi}


03A4: script_name 'Su-27 Afterburner'


:SU27_AB_19

0001: wait 0 ms

00D6: if

0256: player $PLAYER_CHAR defined

004D: jump_if_false @SU27_AB_19

0001: wait 1100 ms

0006: 0@ = 0

0006: 1@ = 0

0006: 21@ = 0

0002: jump @SU27_AB_79


:SU27_AB_79

0001: wait 0 ms

00D6: if

0256: player $PLAYER_CHAR defined

004D: jump_if_false @SU27_AB_79

00D6: if

00DF: actor $PLAYER_ACTOR driving

004D: jump_if_false @SU27_AB_272

03C0: 2@ = actor $PLAYER_ACTOR car

0441: 3@ = car 2@ model

00D6: if

0039: 3@ == 520

004D: jump_if_false @SU27_AB_272

0006: 1@ = 2@

0050: gosub @SU27_AB_293

0050: gosub @SU27_AB_372

0050: gosub @SU27_AB_1494

0002: jump @SU27_AB_79


:SU27_AB_272

0006: 21@ = 0

0002: jump @SU27_AB_79


:SU27_AB_293

00D6: if

0039: 21@ == 0

004D: jump_if_false @SU27_AB_344

00D6: if

0A51: is_widget_pressed 78

004D: jump_if_false @SU27_AB_370

0006: 21@ = 1

0001: wait 0 ms

0002: jump @SU27_AB_370


:SU27_AB_344

00D6: if

0A51: is_widget_pressed 75

004D: jump_if_false @SU27_AB_370

0006: 21@ = 0

0001: wait 0 ms


:SU27_AB_370

0051: return


:SU27_AB_372

00D6: if

0A51: is_widget_pressed 2

004D: jump_if_false @SU27_AB_931

066C: 19@ = attach_particle "afterburner2_npc" to_car 1@ with_offset 1.1 -8.3 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner3_npc" to_car 1@ with_offset 1.1 -8.4 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner2_npc" to_car 1@ with_offset 1.1 -8.9 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner3_npc" to_car 1@ with_offset 1.1 -9.0 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner2_npc" to_car 1@ with_offset -1.1 -8.3 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner3_npc" to_car 1@ with_offset -1.1 -8.4 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner2_npc" to_car 1@ with_offset -1.1 -8.9 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@

066C: 19@ = attach_particle "afterburner3_npc" to_car 1@ with_offset -1.1 -9.0 -0.2 rotation 0.0 0.0 0.0 type 1

064C: make_particle 19@ visible

064F: remove_references_to_particle 19@


:SU27_AB_931

0051: return


:SU27_AB_1494

00D6: if

0039: 21@ == 1

004D: jump_if_false @SU27_AB_1544

00D6: if

0A51: is_widget_pressed 2

004D: jump_if_false @SU27_AB_1544

04BA: set_car 1@ speed_to 200.0

0002: jump @SU27_AB_1569


:SU27_AB_1544

00D6: if

0A51: is_widget_pressed 4

004D: jump_if_false @SU27_AB_1569

04BA: set_car 1@ speed_to 0.0


:SU27_AB_1569

0051: return


Komentar