Quantcast

Jump to content

» «
Photo

How can I make convoy?

4 replies to this topic
thecommand07
  • thecommand07

    Player Hater

  • Members
  • Joined: 18 Jan 2011

#1

Posted 27 July 2013 - 07:12 PM Edited by thecommand07, 27 July 2013 - 07:41 PM.

I wanna make Tommy's goon convoy with Cleo script but how can I do ? I mean first car will be behind my car and second car will be my front my personal driver is gonna tie second car but I select the destination when Tommy in middle car with his driver (gang member or goon like DGOONB special actor) and the convoy is gonna move with this way. Speaking with tie the first car is gonna tie me behind from my car but my car is gonna tie the second car. Well, I will be in the middle of them and convoy will have made this way.

And if the other gangs attack to me my goons is gonna exit their cars and beat them next they are gonna back their seat of the cars. Do you understand what I want ? Maybe we can need some key press for this.


Maybe somebody can help me to make it with mixing this scripts:
Armed Escort:

CODE
// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07

{$VERSION 2.2.0000}
{$CLEO .cs}

//-------------MAIN---------------
0000:

:NONAME_2
wait 0
if
  Player.Defined($PLAYER_CHAR)
jf @NONAME_2
jump @NONAME_29

:NONAME_29
wait 0
if and
84A8:   not player $PLAYER_CHAR driving_boat
84C9:   not player $PLAYER_CHAR driving_plane
00E0:   player $PLAYER_CHAR driving
00E1:   key_pressed 0 18
00E1:   key_pressed 0 19
jf @NONAME_29
jump @NONAME_78

:NONAME_78
wait 0
Model.Load(#PGA)
Model.Load(#PGB)
Model.Load(#ADMIRAL)
Model.Load(#M4)
Model.Load(#M60)
Model.Load(#RUGER)
jump @NONAME_117

:NONAME_117
wait 0
if and
  Model.Available(#PGA)
  Model.Available(#PGB)
  Model.Available(#ADMIRAL)
  Model.Available(#M4)
  Model.Available(#M60)
  Model.Available(#RUGER)
jf @NONAME_78
jump @NONAME_167

:NONAME_167
wait 0
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 -8.0 0.0
3@ = Car.Create(#ADMIRAL, 0@, 1@, 2@)
8@ = Actor.Angle($PLAYER_ACTOR)
Car.Angle(3@) = 8@
0229: set_car 3@ color_to 0 0
0129: 4@ = create_actor 4 #PGA in_car 3@ driverseat
01C8: 5@ = create_actor 4 #PGA in_car 3@ passenger_seat 0
01C8: 6@ = create_actor 4 #PGB in_car 3@ passenger_seat 1
01C8: 7@ = create_actor 4 #PGB in_car 3@ passenger_seat 2
01B2: give_actor 4@ weapon 27 ammo 9999 // Load the weapon model before using this
01B2: give_actor 5@ weapon 26 ammo 9999 // Load the weapon model before using this
01B2: give_actor 6@ weapon 27 ammo 9999 // Load the weapon model before using this
01B2: give_actor 7@ weapon 32 ammo 9999 // Load the weapon model before using this
Car.SetImmunities(3@, 1, 1, 1, 1, 1)
Car.SetMaxSpeed(3@, 60.0)
01EC: make_car 3@ very_heavy 1
0343: set_text_linewidth 500.0
03F0: text_draw_toggle 1
0345: set_text_draw_in_box 1
00AE: set_vehicle 3@ traffic_behavior_to 2
0423: car 3@ improve_handling 1.5
03E5: text_box 'ES_A'
jump @NONAME_417

:NONAME_417
wait 0
Car.SetMaxSpeed(3@, 60.0)
if or
80F2:   not actor 6@ near_actor $PLAYER_ACTOR radius 100.0 100.0 0
  Car.Wrecked(3@)
02BF:   car 3@ sunk
jf @NONAME_479
jump @NONAME_836

:NONAME_479
wait 0
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 -10.0 0.0
wait 200
Car.DriveTo(3@, 0@, 1@, 2@)
jump @NONAME_538

:NONAME_538
wait 0
if
  not Actor.Driving($PLAYER_ACTOR)
jf @NONAME_417
Car.SetMaxSpeed(3@, 0.0)
jump @NONAME_575

:NONAME_575
wait 0
if and
  not Actor.Driving($PLAYER_ACTOR)
00E1:   key_pressed 0 13
jf @NONAME_538
jump @NONAME_608

:NONAME_608
wait 0
03E6: remove_text_box
01D3: actor 4@ leave_car 3@
01D3: actor 5@ leave_car 3@
01D3: actor 6@ leave_car 3@
01D3: actor 7@ leave_car 3@
0319: set_actor 4@ wander_state_to 1
0319: set_actor 5@ wander_state_to 1
0319: set_actor 6@ wander_state_to 1
0319: set_actor 7@ wander_state_to 1
01DF: tie_actor 4@ to_player $PLAYER_CHAR
01DF: tie_actor 5@ to_player $PLAYER_CHAR
01DF: tie_actor 6@ to_player $PLAYER_CHAR
01DF: tie_actor 7@ to_player $PLAYER_CHAR
Car.SetImmunities(3@, 0, 0, 0, 0, 0)
Car.RemoveReferences(3@)
jump @NONAME_733

:NONAME_733
wait 200
if and
80F2:   not actor 4@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
80F2:   not actor 5@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
80F2:   not actor 6@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
80F2:   not actor 7@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
jf @NONAME_733
jump @NONAME_836

:NONAME_836
wait 0
03E5: text_box 'ES_B'
01E0: clear_leader 4@
01E0: clear_leader 5@
01E0: clear_leader 6@
01E0: clear_leader 7@
Car.RemoveReferences(3@)
Actor.RemoveReferences(4@)
Actor.RemoveReferences(5@)
Actor.RemoveReferences(6@)
Actor.RemoveReferences(7@)
Model.Destroy(#PGA)
Model.Destroy(#PGB)
Model.Destroy(#ADMIRAL)
Model.Destroy(#M4)
Model.Destroy(#M60)
Model.Destroy(#RUGER)
wait 2000
03E6: remove_text_box
03F0: text_draw_toggle 0
0345: set_text_draw_in_box 0
jump @NONAME_2



Personal Driver

CODE
// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07

{$VERSION 2.2.0000}
{$CLEO .cs}

//-------------MAIN---------------
0000:

:NONAME_2
wait 0
if
  Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
jump @NONAME_29

:NONAME_29
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 18
00E1:   key_pressed 0 19
  Player.Money($PLAYER_CHAR) > 1000
else_jump @NONAME_29
jump @NONAME_76

:NONAME_76
wait 0
Model.Load(#HMYRI)
Model.Load(#SENTXS)
Model.Load(#STRETCH)
Model.Load(#INFERNUS)
Model.Load(#ADMIRAL)
Model.Load(#SENTINEL)
Model.Load(#FBIRANCH)
Model.Load(#UZI)
jump @NONAME_126

:NONAME_126
wait 0
if and
  Model.Available(#HMYRI)
  Model.Available(#SENTXS)
  Model.Available(#STRETCH)
  Model.Available(#INFERNUS)
  Model.Available(#ADMIRAL)
  Model.Available(#SENTINEL)
  Model.Available(#FBIRANCH)
  Model.Available(#UZI)
else_jump @NONAME_76
jump @NONAME_187

:NONAME_187
wait 0
0209: 11@ = random_int 0 4
if
 11@ == 0 // integer values
else_jump @NONAME_245
6@ = 50.0 // floating-point values
7@ = 50.0 // floating-point values
jump @NONAME_362

:NONAME_245
if
 11@ == 1 // integer values
else_jump @NONAME_290
6@ = -50.0 // floating-point values
7@ = 50.0 // floating-point values
jump @NONAME_362

:NONAME_290
if
 11@ == 2 // integer values
else_jump @NONAME_335
6@ = 50.0 // floating-point values
7@ = -50.0 // floating-point values
jump @NONAME_362

:NONAME_335
6@ = -50.0 // floating-point values
7@ = -50.0 // floating-point values
jump @NONAME_362

:NONAME_362
wait 300
Actor.LockInCurrentPosition($PLAYER_ACTOR) = True
0343: set_text_linewidth 500.0
03F0: text_draw_toggle 1
00BC: text_highpriority 'DR_25' 1500 ms 1
wait 1500
jump @NONAME_412

:NONAME_412
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_445
jump @NONAME_963

:NONAME_445
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_412
jump @NONAME_478

:NONAME_478
wait 0
00BC: text_highpriority 'DR_26' 1500 ms 1
wait 1500
jump @NONAME_509

:NONAME_509
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_542
jump @NONAME_1023

:NONAME_542
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_509
jump @NONAME_575

:NONAME_575
wait 0
00BC: text_highpriority 'DR_27' 1500 ms 1
wait 1500
jump @NONAME_606

:NONAME_606
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_639
jump @NONAME_1083

:NONAME_639
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_606
jump @NONAME_672

:NONAME_672
wait 0
00BC: text_highpriority 'DR_28' 1500 ms 1
wait 1500
jump @NONAME_703

:NONAME_703
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_736
jump @NONAME_1143

:NONAME_736
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_703
jump @NONAME_769

:NONAME_769
wait 0
00BC: text_highpriority 'DR_29' 1500 ms 1
wait 1500
jump @NONAME_800

:NONAME_800
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_833
jump @NONAME_1203

:NONAME_833
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_800
jump @NONAME_866

:NONAME_866
wait 0
00BC: text_highpriority 'DR_30' 1500 ms 1
wait 1500
jump @NONAME_897

:NONAME_897
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 8
else_jump @NONAME_930
jump @NONAME_1263

:NONAME_930
wait 0
if and
80E0:   not player $PLAYER_CHAR driving
00E1:   key_pressed 0 9
else_jump @NONAME_897
jump @NONAME_362

:NONAME_963
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#SENTXS, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1023
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#STRETCH, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1083
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#INFERNUS, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1143
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#ADMIRAL, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1203
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#SENTINEL, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1263
wait 0
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 6@ 7@ -100.0
3@ = Car.Create(#FBIRANCH, 0@, 1@, 2@)
jump @NONAME_1323

:NONAME_1323
wait 0
0229: set_car 3@ color_to 0 0
0129: 4@ = create_actor 4 #HMYRI in_car 3@ driverseat
01B2: give_actor 4@ weapon 23 ammo 9999 // Load the weapon model before using this
Car.SetImmunities(3@, 1, 1, 1, 1, 1)
00AE: set_vehicle 3@ traffic_behavior_to 2
Car.SetToPsychoDriver(3@)
Car.SetMaxSpeed(3@, 20.0)
01EC: make_car 3@ very_heavy 1
0343: set_text_linewidth 500.0
03F0: text_draw_toggle 1
0345: set_text_draw_in_box 1
03E5: text_box 'DR_A'
5@ = Marker.CreateAboveCar(3@)
wait 0
if
03CE:   car 3@ stuck
else_jump @NONAME_1462
jump @NONAME_6702

:NONAME_1462
wait 0
04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 3.0 0.0
Car.DriveTo(3@, 0@, 1@, 2@)
jump @NONAME_1516

:NONAME_1516
wait 0
if
if and
01FC:   player $PLAYER_CHAR near_car 3@ radius 5.0 5.0 0
00E1:   key_pressed 0 4
else_jump @NONAME_6638
jump @NONAME_1568

:NONAME_1568
wait 0
01D4: actor $PLAYER_ACTOR go_to_car 3@ and_enter_it_as_a_passenger
Marker.Disable(5@)
jump @NONAME_1592

:NONAME_1592
wait 0
00BC: text_highpriority 'DR_1' 2500 ms 1
wait 2500
03E6: remove_text_box
0345: set_text_draw_in_box 0
jump @NONAME_1629

:NONAME_1629
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_1657
jump @NONAME_1808

:NONAME_1657
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_1685
jump @NONAME_1785

:NONAME_1685
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_1755
jump @NONAME_1713

:NONAME_1713
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 240.1, -1288.226, 9.921)
jump @NONAME_1755

:NONAME_1755
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_1785
jump @NONAME_1629

:NONAME_1785
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_1808
wait 0
00BC: text_highpriority 'DR_2' 2500 ms 1
wait 2500
jump @NONAME_1839

:NONAME_1839
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_1867
jump @NONAME_2018

:NONAME_1867
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_1895
jump @NONAME_1995

:NONAME_1895
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_1965
jump @NONAME_1923

:NONAME_1923
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 100.444, -1477.281, 9.451)
jump @NONAME_1965

:NONAME_1965
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_1995
jump @NONAME_1839

:NONAME_1995
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_2018
wait 0
00BC: text_highpriority 'DR_3' 2500 ms 1
wait 2500
jump @NONAME_2049

:NONAME_2049
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_2077
jump @NONAME_2228

:NONAME_2077
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_2105
jump @NONAME_2205

:NONAME_2105
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_2175
jump @NONAME_2133

:NONAME_2133
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -100.196, -978.231, 9.45)
jump @NONAME_2175

:NONAME_2175
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_2205
jump @NONAME_2049

:NONAME_2205
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_2228
wait 0
00BC: text_highpriority 'DR_4' 2500 ms 1
wait 2500
jump @NONAME_2259

:NONAME_2259
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_2287
jump @NONAME_2438

:NONAME_2287
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_2315
jump @NONAME_2415

:NONAME_2315
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_2385
jump @NONAME_2343

:NONAME_2343
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 115.732, -824.249, 9.482)
jump @NONAME_2385

:NONAME_2385
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_2415
jump @NONAME_2259

:NONAME_2415
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_2438
wait 0
00BC: text_highpriority 'DR_5' 2500 ms 1
wait 2500
jump @NONAME_2469

:NONAME_2469
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_2497
jump @NONAME_2648

:NONAME_2497
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_2525
jump @NONAME_2625

:NONAME_2525
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_2595
jump @NONAME_2553

:NONAME_2553
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 378.907, -444.246, 9.073)
jump @NONAME_2595

:NONAME_2595
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_2625
jump @NONAME_2469

:NONAME_2625
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_2648
wait 0
00BC: text_highpriority 'DR_6' 2500 ms 1
wait 2500
jump @NONAME_2679

:NONAME_2679
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_2707
jump @NONAME_2858

:NONAME_2707
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_2735
jump @NONAME_2835

:NONAME_2735
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_2805
jump @NONAME_2763

:NONAME_2763
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 503.687, -92.782, 9.273)
jump @NONAME_2805

:NONAME_2805
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_2835
jump @NONAME_2679

:NONAME_2835
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_2858
wait 0
00BC: text_highpriority 'DR_7' 2500 ms 1
wait 2500
jump @NONAME_2889

:NONAME_2889
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_2917
jump @NONAME_3068

:NONAME_2917
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_2945
jump @NONAME_3045

:NONAME_2945
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_3015
jump @NONAME_2973

:NONAME_2973
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 98.183, 218.534, 18.287)
jump @NONAME_3015

:NONAME_3015
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_3045
jump @NONAME_2889

:NONAME_3045
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_3068
wait 0
00BC: text_highpriority 'DR_8' 2500 ms 1
wait 2500
jump @NONAME_3099

:NONAME_3099
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_3127
jump @NONAME_3278

:NONAME_3127
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_3155
jump @NONAME_3255

:NONAME_3155
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_3225
jump @NONAME_3183

:NONAME_3183
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 480.389, 493.654, 10.63)
jump @NONAME_3225

:NONAME_3225
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_3255
jump @NONAME_3099

:NONAME_3255
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_3278
wait 0
00BC: text_highpriority 'DR_9' 2500 ms 1
wait 2500
jump @NONAME_3309

:NONAME_3309
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_3337
jump @NONAME_3488

:NONAME_3337
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_3365
jump @NONAME_3465

:NONAME_3365
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_3435
jump @NONAME_3393

:NONAME_3393
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 429.971, 712.358, 10.422)
jump @NONAME_3435

:NONAME_3435
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_3465
jump @NONAME_3309

:NONAME_3465
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_3488
wait 0
00BC: text_highpriority 'DR_10' 2500 ms 1
wait 2500
jump @NONAME_3519

:NONAME_3519
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_3547
jump @NONAME_3698

:NONAME_3547
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_3575
jump @NONAME_3675

:NONAME_3575
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_3645
jump @NONAME_3603

:NONAME_3603
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 488.734, 1120.181, 15.35)
jump @NONAME_3645

:NONAME_3645
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_3675
jump @NONAME_3519

:NONAME_3675
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_3698
wait 0
00BC: text_highpriority 'DR_11' 2500 ms 1
wait 2500
jump @NONAME_3729

:NONAME_3729
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_3757
jump @NONAME_3908

:NONAME_3757
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_3785
jump @NONAME_3885

:NONAME_3785
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_3855
jump @NONAME_3813

:NONAME_3813
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, 16.963, 963.448, 9.792)
jump @NONAME_3855

:NONAME_3855
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_3885
jump @NONAME_3729

:NONAME_3885
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_3908
wait 0
00BC: text_highpriority 'DR_12' 2500 ms 1
wait 2500
jump @NONAME_3939

:NONAME_3939
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_3967
jump @NONAME_4118

:NONAME_3967
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_3995
jump @NONAME_4095

:NONAME_3995
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_4065
jump @NONAME_4023

:NONAME_4023
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -680.06, 1194.649, 10.09)
jump @NONAME_4065

:NONAME_4065
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_4095
jump @NONAME_3939

:NONAME_4095
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_4118
wait 0
00BC: text_highpriority 'DR_13' 2500 ms 1
wait 2500
jump @NONAME_4149

:NONAME_4149
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_4177
jump @NONAME_4328

:NONAME_4177
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_4205
jump @NONAME_4305

:NONAME_4205
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_4275
jump @NONAME_4233

:NONAME_4233
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -998.295, 1332.656, 8.973)
jump @NONAME_4275

:NONAME_4275
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_4305
jump @NONAME_4149

:NONAME_4305
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_4328
wait 0
00BC: text_highpriority 'DR_14' 2500 ms 1
wait 2500
jump @NONAME_4359

:NONAME_4359
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_4387
jump @NONAME_4538

:NONAME_4387
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_4415
jump @NONAME_4515

:NONAME_4415
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_4485
jump @NONAME_4443

:NONAME_4443
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -823.488, 1164.335, 10.09)
jump @NONAME_4485

:NONAME_4485
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_4515
jump @NONAME_4359

:NONAME_4515
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_4538
wait 0
00BC: text_highpriority 'DR_15' 2500 ms 1
wait 2500
jump @NONAME_4569

:NONAME_4569
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_4597
jump @NONAME_4748

:NONAME_4597
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_4625
jump @NONAME_4725

:NONAME_4625
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_4695
jump @NONAME_4653

:NONAME_4653
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -663.506, 755.054, 10.124)
jump @NONAME_4695

:NONAME_4695
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_4725
jump @NONAME_4569

:NONAME_4725
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_4748
wait 0
00BC: text_highpriority 'DR_16' 2500 ms 1
wait 2500
jump @NONAME_4779

:NONAME_4779
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_4807
jump @NONAME_4958

:NONAME_4807
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_4835
jump @NONAME_4935

:NONAME_4835
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_4905
jump @NONAME_4863

:NONAME_4863
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -1016.339, 198.945, 10.276)
jump @NONAME_4905

:NONAME_4905
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_4935
jump @NONAME_4779

:NONAME_4935
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_4958
wait 0
00BC: text_highpriority 'DR_17' 2500 ms 1
wait 2500
jump @NONAME_4989

:NONAME_4989
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_5017
jump @NONAME_5168

:NONAME_5017
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_5045
jump @NONAME_5145

:NONAME_5045
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_5115
jump @NONAME_5073

:NONAME_5073
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -1040.923, -285.95, 9.772)
jump @NONAME_5115

:NONAME_5115
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_5145
jump @NONAME_4989

:NONAME_5145
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_5168
wait 0
00BC: text_highpriority 'DR_18' 2500 ms 1
wait 2500
jump @NONAME_5199

:NONAME_5199
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_5227
jump @NONAME_5378

:NONAME_5227
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_5255
jump @NONAME_5355

:NONAME_5255
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_5325
jump @NONAME_5283

:NONAME_5283
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -864.554, -474.2, 10.119)
jump @NONAME_5325

:NONAME_5325
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_5355
jump @NONAME_5199

:NONAME_5355
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_5378
wait 0
00BC: text_highpriority 'DR_19' 2500 ms 1
wait 2500
jump @NONAME_5409

:NONAME_5409
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_5437
jump @NONAME_5588

:NONAME_5437
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_5465
jump @NONAME_5565

:NONAME_5465
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_5535
jump @NONAME_5493

:NONAME_5493
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -838.505, -654.735, 10.0)
jump @NONAME_5535

:NONAME_5535
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_5565
jump @NONAME_5409

:NONAME_5565
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_5588
wait 0
00BC: text_highpriority 'DR_20' 2500 ms 1
wait 2500
jump @NONAME_5619

:NONAME_5619
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_5647
jump @NONAME_5798

:NONAME_5647
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_5675
jump @NONAME_5775

:NONAME_5675
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_5745
jump @NONAME_5703

:NONAME_5703
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -745.69, -1265.732, 10.107)
jump @NONAME_5745

:NONAME_5745
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_5775
jump @NONAME_5619

:NONAME_5775
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_5798
wait 0
00BC: text_highpriority 'DR_21' 2500 ms 1
wait 2500
jump @NONAME_5829

:NONAME_5829
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_5857
jump @NONAME_6008

:NONAME_5857
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_5885
jump @NONAME_5985

:NONAME_5885
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_5955
jump @NONAME_5913

:NONAME_5913
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -1027.405, -905.432, 13.07)
jump @NONAME_5955

:NONAME_5955
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_5985
jump @NONAME_5829

:NONAME_5985
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_6008
wait 0
00BC: text_highpriority 'DR_22' 2500 ms 1
wait 2500
jump @NONAME_6039

:NONAME_6039
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_6067
jump @NONAME_6218

:NONAME_6067
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_6095
jump @NONAME_6195

:NONAME_6095
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_6165
jump @NONAME_6123

:NONAME_6123
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -273.343, -490.287, 10.061)
jump @NONAME_6165

:NONAME_6165
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_6195
jump @NONAME_6039

:NONAME_6195
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_6218
wait 0
00BC: text_highpriority 'DR_23' 2500 ms 1
wait 2500
jump @NONAME_6249

:NONAME_6249
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_6277
jump @NONAME_6428

:NONAME_6277
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_6305
jump @NONAME_6405

:NONAME_6305
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_6375
jump @NONAME_6333

:NONAME_6333
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -1179.638, -604.416, 10.657)
jump @NONAME_6375

:NONAME_6375
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_6405
jump @NONAME_6249

:NONAME_6405
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_6428
wait 0
00BC: text_highpriority 'DR_24' 2500 ms 1
wait 2500
jump @NONAME_6459

:NONAME_6459
wait 0
if
00E1:   key_pressed 0 14
else_jump @NONAME_6487
jump @NONAME_1592

:NONAME_6487
wait 0
if
00E1:   key_pressed 0 15
else_jump @NONAME_6515
jump @NONAME_6615

:NONAME_6515
wait 0
if
00E1:   key_pressed 0 16
else_jump @NONAME_6585
jump @NONAME_6543

:NONAME_6543
wait 500
Car.SetMaxSpeed(3@, 30.0)
Car.DriveTo(3@, -1437.771, -837.471, 13.891)
jump @NONAME_6585

:NONAME_6585
wait 0
if
0442:   player $PLAYER_CHAR in_car 3@
else_jump @NONAME_6615
jump @NONAME_6459

:NONAME_6615
wait 0
03F0: text_draw_toggle 0
5@ = Marker.CreateAboveCar(3@)
jump @NONAME_6638

:NONAME_6638
wait 0
if
80F2:   not actor 4@ near_actor $PLAYER_ACTOR radius 100.0 100.0 0
else_jump @NONAME_1516
jump @NONAME_6680

:NONAME_6680
wait 0
0343: set_text_linewidth 500.0
03F0: text_draw_toggle 1
jump @NONAME_6702

:NONAME_6702
wait 0
Car.RemoveReferences(3@)
Actor.RemoveReferences(4@)
Model.Destroy(#HMYRI)
Model.Destroy(#SENTXS)
Model.Destroy(#STRETCH)
Model.Destroy(#INFERNUS)
Model.Destroy(#ADMIRAL)
Model.Destroy(#SENTINEL)
Model.Destroy(#FBIRANCH)
Model.Destroy(#UZI)
00BC: text_highpriority 'DR_B' 2500 ms 1
Marker.Disable(5@)
Player.Money($PLAYER_CHAR) += -1000
wait 3000
03F0: text_draw_toggle 0
jump @NONAME_2

thecommand07
  • thecommand07

    Player Hater

  • Members
  • Joined: 18 Jan 2011

#2

Posted 27 July 2013 - 07:40 PM

Anynody hasn't been to help me for this ?

Dutchy3010
  • Dutchy3010

    Female SCM coder!

  • Moderator
  • Joined: 30 Jul 2006
  • Netherlands
  • Best Script 2013 [DYOM]
    Best Script 2012 [DYOM]

#3

Posted 28 July 2013 - 10:05 AM

Decompiled scripts are messy.

I guess this isn't even your script, have you asked permission to adjust it?

If you have permission, perhaps you can ask for the source code, since that makes it easier to integrate.

However, in my opinion it is easier to make a script from scratch than to integrate two scripts, so my advice would be to start all over.

thecommand07
  • thecommand07

    Player Hater

  • Members
  • Joined: 18 Jan 2011

#4

Posted 28 July 2013 - 10:51 AM

QUOTE (Dutchy3010 @ Sunday, Jul 28 2013, 10:05)
Decompiled scripts are messy.

I guess this isn't even your script, have you asked permission to adjust it?

If you have permission, perhaps you can ask for the source code, since that makes it easier to integrate.

However, in my opinion it is easier to make a script from scratch than to integrate two scripts, so my advice would be to start all over.

But How can I do? I don't even know how can I tie the second car I mean front of my car?


:S


Any lesson topic of SCM Codding ON VC?

thecommand07
  • thecommand07

    Player Hater

  • Members
  • Joined: 18 Jan 2011

#5

Posted 29 July 2013 - 08:11 PM

QUOTE (Dutchy3010 @ Sunday, Jul 28 2013, 10:05)
Decompiled scripts are messy.

I guess this isn't even your script, have you asked permission to adjust it?

If you have permission, perhaps you can ask for the source code, since that makes it easier to integrate.

However, in my opinion it is easier to make a script from scratch than to integrate two scripts, so my advice would be to start all over.

I've done this but it's freezin' on the game :S


CODE

// This file was decompiled using vicescm.ini published by GtaForums.com on 27.7.07

{$VERSION 2.2.0000}
{$CLEO .cs}

//-------------MAIN---------------
{0} 0000:

:NONAME_2
{2} 0001: wait 0 ms
{6} 00D6: if
{10} 0256:   player $PLAYER_CHAR defined
{15} 004D: jump_if_false @NONAME_2
{22} 0002: jump @NONAME_29

:NONAME_29
{29} 0001: wait 0 ms
{33} 00D6: if and
{37} 84A8:   not player $PLAYER_CHAR driving_boat
{42} 84C9:   not player $PLAYER_CHAR driving_plane
{47} 00E0:   player $PLAYER_CHAR driving
{52} 00E1:   key_pressed 0 18
{58} 00E1:   key_pressed 0 19
{64} 004D: jump_if_false @NONAME_29
{71} 0002: jump @NONAME_78

:NONAME_78
{78} 0001: wait 0 ms
{82} 0247: request_model #PGA
{86} 0247: request_model #PGB
{90} 0247: request_model #ADMIRAL
{95} 0247: request_model #M4
{100} 0247: request_model #M60
{105} 0247: request_model #RUGER
{110} 0002: jump @NONAME_117

:NONAME_117
{117} 0001: wait 0 ms
{121} 00D6: if and
{125} 0248:   model #PGA available
{129} 0248:   model #PGB available
{133} 0248:   model #ADMIRAL available
{138} 0248:   model #M4 available
{143} 0248:   model #M60 available
{148} 0248:   model #RUGER available
{153} 004D: jump_if_false @NONAME_78
{160} 0002: jump @NONAME_167

:NONAME_167
{362} 0001: wait 300 ms
{367} 04D7: lock_actor $PLAYER_ACTOR in_current_position 1
{374} 0343: set_text_linewidth 500.0
{381} 03F0: text_draw_toggle 1
{385} 00BC: text_highpriority 'DR_25' 1500 ms 1
{400} 0001: wait 1500 ms
{167} 0001: wait 0 ms
{1027} 04D7: lock_actor $PLAYER_ACTOR in_current_position 0
{171} 04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 -8.0 0.0
00A5: $9 = create_car #ADMIRAL at 0@ 1@ 2@
0129: $10 = create_actor 13 #PGA in_car $9 driverseat
02AC: set_car $9 immunities 1 1 1 1 1
00A9: set_car $9 to_normal_driver
{1385} 00AD: set_car $9 max_speed_to 20.0
{1395} 01EC: make_car $9 very_heavy 1
{1402} 0343: set_text_linewidth 500.0
{1409} 03F0: text_draw_toggle 1
{1413} 0345: set_text_draw_in_box 1
{1417} 03E5: text_box 'DR_A'
{1427} 0186: $11 = create_marker_above_car $9
{1435} 0001: wait 0 ms
{1439} 00D6: if
{1443} 03CE:   car $9 stuck  
{1462} 0001: wait 0 ms
{1466} 04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 3.0 0.0
{1495} 00A7: car $9 drive_to 0@ 1@ 2@
{1516} 0001: wait 0 ms
{1520} 00D6: if
{1524} 00D6: if and
{1528} 01FC:   player $PLAYER_CHAR near_car $9 radius 5.0 5.0 0
{1548} 00E1:   key_pressed 0 4
{1568} 0001: wait 0 ms
{1572} 01D4: actor $PLAYER_ACTOR go_to_car $9 and_enter_it_as_a_passenger
{1580} 0164: disable_marker $11
{1592} 0001: wait 0 ms
{1596} 00BC: text_highpriority 'DR_1' 2500 ms 1
{1611} 0001: wait 2500 ms
{1616} 03E6: remove_text_box
{1618} 0345: set_text_draw_in_box 0
{1629} 0001: wait 0 ms
{1633} 00D6: if
{1637} 00E1:   key_pressed 0 14
{1657} 0001: wait 0 ms
{1661} 00D6: if
{1665} 00E1:   key_pressed 0 15
{1685} 0001: wait 0 ms
{1689} 00D6: if
{1693} 00E1:   key_pressed 0 16
{1713} 0001: wait 500 ms
{1718} 00AD: set_car $9 max_speed_to 30.0
{1728} 00A7: car $9 drive_to 240.1 -1288.226 9.921
{6638} 0001: wait 0 ms
{6642} 00D6: if
{6646} 80F2:   not actor $10 near_actor $PLAYER_ACTOR radius 100.0 100.0 0
{6680} 0001: wait 0 ms
{6684} 0343: set_text_linewidth 500.0
{6691} 03F0: text_draw_toggle 1
{6702} 0001: wait 0 ms
{6706} 01C3: remove_references_to_car $9 // Like turning a car into any random car
{6711} 01C2: remove_references_to_actor $10 // Like turning an actor into a random pedestrian
{6716} 0249: release_model #PGA
{6720} 0249: release_model #ADMIRAL
01D1: actor $10 follow_actor $3
0001: wait 0 ms
{171} 04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 -8.0 0.0
{171} 04C4: create_coordinate $1 $2 $3 from_actor $PLAYER_ACTOR offset 0.0  8.0 0.0
{200} 00A5: 3@ = create_car #ADMIRAL at 0@ 1@ 2@
{200} 00A5: $3 = create_car #ADMIRAL at $1 $2 $3
{217} 0172: 8@ = actor $PLAYER_ACTOR z_angle
{217} 0172: $8 = actor $PLAYER_ACTOR z_angle
{225} 0175: set_car 3@ z_angle_to 8@
{225} 0175: set_car $3 z_angle_to $8
{233} 0229: set_car 3@ color_to 0 0
{233} 0229: set_car $3 color_to 0 0
{242} 0129: 4@ = create_actor 4 #PGA in_car 3@ driverseat
{254} 01C8: 5@ = create_actor 4 #PGA in_car 3@ passenger_seat 0
{268} 01C8: 6@ = create_actor 4 #PGB in_car 3@ passenger_seat 1
{282} 01C8: 7@ = create_actor 4 #PGB in_car 3@ passenger_seat 2
{242} 0129: $4 = create_actor 4 #PGA in_car $3 driverseat
{254} 01C8: $5 = create_actor 4 #PGA in_car $3 passenger_seat 0
{268} 01C8: $6 = create_actor 4 #PGB in_car $3 passenger_seat 1
{282} 01C8: $7 = create_actor 4 #PGB in_car $3 passenger_seat 2
{296} 01B2: give_actor 4@ weapon 27 ammo 9999 // Load the weapon model before using this
{306} 01B2: give_actor 5@ weapon 26 ammo 9999 // Load the weapon model before using this
{316} 01B2: give_actor 6@ weapon 27 ammo 9999 // Load the weapon model before using this
{326} 01B2: give_actor 7@ weapon 32 ammo 9999 // Load the weapon model before using this
{296} 01B2: give_actor $4 weapon 27 ammo 9999 // Load the weapon model before using this
{306} 01B2: give_actor $5 weapon 26 ammo 9999 // Load the weapon model before using this
{316} 01B2: give_actor $6 weapon 27 ammo 9999 // Load the weapon model before using this
{326} 01B2: give_actor $7 weapon 32 ammo 9999 // Load the weapon model before using this
{336} 02AC: set_car 3@ immunities 1 1 1 1 1
{336} 02AC: set_car $3 immunities 1 1 1 1 1
{351} 00AD: set_car 3@ max_speed_to 60.0
{361} 01EC: make_car 3@ very_heavy 1
{351} 00AD: set_car $3 max_speed_to 60.0
{361} 01EC: make_car $3 very_heavy 1
{368} 0343: set_text_linewidth 500.0
{375} 03F0: text_draw_toggle 1
{379} 0345: set_text_draw_in_box 1
{383} 00AE: set_vehicle 3@ traffic_behavior_to 2
{390} 0423: car 3@ improve_handling 1.5
{383} 00AE: set_vehicle $3 traffic_behavior_to 2
{390} 0423: car $3 improve_handling 1.5
{400} 03E5: text_box 'ES_A'
{410} 0002: jump @NONAME_417

:NONAME_417
{417} 0001: wait 0 ms
{421} 00AD: set_car 3@ max_speed_to 60.0
{421} 00AD: set_car $3 max_speed_to 60.0
{431} 00D6: if or
{435} 80F2:   not actor 6@ near_actor $PLAYER_ACTOR radius 100.0 100.0 0
{435} 80F2:   not actor $6 near_actor $PLAYER_ACTOR radius 100.0 -100.0 0
{455} 0119:   car 3@ wrecked
{460} 02BF:   car 3@ sunk
{455} 0119:   car $3 wrecked
{460} 02BF:   car $3 sunk  
{465} 004D: jump_if_false @NONAME_479
{472} 0002: jump @NONAME_836

:NONAME_479
{479} 0001: wait 0 ms
{483} 04C4: create_coordinate 0@ 1@ 2@ from_actor $PLAYER_ACTOR offset 0.0 -10.0 0.0
{483} 04C4: create_coordinate $0 $1 $2 from_actor $PLAYER_ACTOR offset 0.0  10.0 0.0
{517} 00A7: car $3 drive_to $0 $1 $2
{512} 0001: wait 200 ms
{517} 00A7: car 3@ drive_to 0@ 1@ 2@

{531} 0002: jump @NONAME_538

:NONAME_538
{538} 0001: wait 0 ms
{542} 00D6: if
{546} 80DF:   not actor $PLAYER_ACTOR driving
{551} 004D: jump_if_false @NONAME_417
{558} 00AD: set_car 3@ max_speed_to 0.0
{558} 00AD: set_car $3 max_speed_to 0.0
{568} 0002: jump @NONAME_575

:NONAME_575
{575} 0001: wait 0 ms
{579} 00D6: if and
{583} 80DF:   not actor $PLAYER_ACTOR driving
{588} 00E1:   key_pressed 0 13
{594} 004D: jump_if_false @NONAME_538
{601} 0002: jump @NONAME_608

:NONAME_608
{608} 0001: wait 0 ms
{612} 03E6: remove_text_box
{614} 01D3: actor 4@ leave_car 3@
{622} 01D3: actor 5@ leave_car 3@
{630} 01D3: actor 6@ leave_car 3@
{638} 01D3: actor 7@ leave_car 3@
{614} 01D3: actor $4 leave_car $3
{622} 01D3: actor $5 leave_car $3
{630} 01D3: actor $5 leave_car $3
{638} 01D3: actor $7 leave_car $3
{646} 0319: set_actor 4@ wander_state_to 1
{653} 0319: set_actor 5@ wander_state_to 1
{660} 0319: set_actor 6@ wander_state_to 1
{667} 0319: set_actor 7@ wander_state_to 1
{646} 0319: set_actor $4 wander_state_to 1
{653} 0319: set_actor $5 wander_state_to 1
{660} 0319: set_actor $6 wander_state_to 1
{667} 0319: set_actor $7 wander_state_to 1
{674} 01DF: tie_actor 4@ to_player $PLAYER_CHAR
{682} 01DF: tie_actor 5@ to_player $PLAYER_CHAR
{690} 01DF: tie_actor 6@ to_player $PLAYER_CHAR
{698} 01DF: tie_actor 7@ to_player $PLAYER_CHAR
{674} 01DF: tie_actor $4 to_player $PLAYER_CHAR
{682} 01DF: tie_actor $5 to_player $PLAYER_CHAR
{690} 01DF: tie_actor $6 to_player $PLAYER_CHAR
{698} 01DF: tie_actor $7 to_player $PLAYER_CHAR
{706} 02AC: set_car 3@ immunities 0 0 0 0 0
{721} 01C3: remove_references_to_car 3@ // Like turning a car into any random car
{726} 0002: jump @NONAME_733

:NONAME_733
{733} 0001: wait 200 ms
{738} 00D6: if and
{742} 80F2:   not actor 4@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{762} 80F2:   not actor 5@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{782} 80F2:   not actor 6@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{802} 80F2:   not actor 7@ near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{742} 80F2:   not actor $4 near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{762} 80F2:   not actor $5 near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{782} 80F2:   not actor $6 near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{802} 80F2:   not actor $7 near_actor $PLAYER_ACTOR radius 20.0 20.0 0
{822} 004D: jump_if_false @NONAME_733
{829} 0002: jump @NONAME_836

:NONAME_836
{836} 0001: wait 0 ms
{840} 03E5: text_box 'ES_B'
{850} 01E0: clear_leader 4@
{855} 01E0: clear_leader 5@
{860} 01E0: clear_leader 6@
{865} 01E0: clear_leader 7@
{850} 01E0: clear_leader $4
{855} 01E0: clear_leader $5
{860} 01E0: clear_leader $6
{865} 01E0: clear_leader $7
{870} 01C3: remove_references_to_car 3@ // Like turning a car into any random car
{875} 01C2: remove_references_to_actor 4@ // Like turning an actor into a random pedestrian
{880} 01C2: remove_references_to_actor 5@ // Like turning an actor into a random pedestrian
{885} 01C2: remove_references_to_actor 6@ // Like turning an actor into a random pedestrian
{890} 01C2: remove_references_to_actor 7@ // Like turning an actor into a random pedestrian
{870} 01C3: remove_references_to_car $3 // Like turning a car into any random car
{875} 01C2: remove_references_to_actor $4 // Like turning an actor into a random pedestrian
{880} 01C2: remove_references_to_actor $5 // Like turning an actor into a random pedestrian
{885} 01C2: remove_references_to_actor $6 // Like turning an actor into a random pedestrian
{890} 01C2: remove_references_to_actor $7 // Like turning an actor into a random pedestrian
{895} 0249: release_model #PGA
{899} 0249: release_model #PGB
{903} 0249: release_model #ADMIRAL
{908} 0249: release_model #M4
{913} 0249: release_model #M60
{918} 0249: release_model #RUGER
{923} 0001: wait 2000 ms
{928} 03E6: remove_text_box
{930} 03F0: text_draw_toggle 0
{934} 0345: set_text_draw_in_box 0
{938} 0002: jump @NONAME_2




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users