//-------------MAIN---------------
0000: NOP
:NONAME_2
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @NONAME_2
wait 0
if and
0AB0: key_pressed 109
Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_2
$ONMISSION = 1
$HELINOTIFICATIONSHOWED = 0
$POLNOTIFICATIONSHOWED = 0
$PASSANGER1 = 0
$PASSANGER2 = 0
$PASSANGER3 = 0
Model.Load(#LAPD1)
Model.Load(#POLMAV)
Model.Load(#BFYPRO)
Model.Load(#SILENCED)
Model.Load(#MICRO_UZI)
Model.Load(#CELLPHONE)
:N O NAME_117
wait 0
if and
Model.Available(#LAPD1)
Model.Available(#BFYPRO)
Model.Available(#SILENCED)
Model.Available(#CELLPHONE)
else_jump @NONAME_117
01F7: set_player $PLAYER_CHAR ignored_by_cops 1
wait 1000
04C4: store_coords_to $LC1 $LC2 $LC3 from_actor $PLAYER_ACTOR with_offset -50.0 -50.0 5.0
04C4: store_coords_to $LC4 $LC5 $LC6 from_actor $PLAYER_ACTOR with_offset 50.0 50.0 5.0
09C0: $CC = get_random_car_in_area $LC1 $LC2 $LC4 $LC5 10.0 with_actors -1
if
Car.Defined($CC)
else_jump @NONAME_117
046C: $CP = car $CC driver
Car.StorePos($CC, $CARP1, $CARP2, $CARP3)
$CH = Car.Health($CC)
08EC: $CT = car $CC type
$CM = Car.Model($CC)
02E3: $CS = car $CC speed
03F3: get_car $CC primary_color_to $CC1 secondary_color_to $CC2
03C0: $PA = actor $PLAYER_ACTOR car
$CAA = Actor.Angle($CP)
if
not Actor.DrivingPoliceVehicle($CP)
else_jump @NONAME_117
0337: set_actor $CP visibility 0
0362: remove_actor $CP from_car_and_place_at 2239.367 -1261.939 22.9375
0665: get_actor $CP model_to $CPM
Actor.RemoveReferences($CP)
if
0431: car $CC passenger_seat_free 0
else_jump @NONAME_423
jump @NONAME_570
:NONAME_423
0432: $CP1 = get_actor_handle_from_car $CC passenger_seat 0
0665: get_actor $CP1 model_to $CP1M
Actor.RemoveReferences($CP1)
$PASSANGER1 = 1
if
0431: car $CC passenger_seat_free 1
else_jump @NONAME_478
jump @NONAME_570
:NONAME_478
0432: $CP2 = get_actor_handle_from_car $CC passenger_seat 1
0665: get_actor $CP2 model_to $CP2M
Actor.RemoveReferences($CP2)
$PASSANGER2 = 1
if
0431: car $CC passenger_seat_free 2
else_jump @NONAME_533
jump @NONAME_570
:NONAME_533
0432: $CP3 = get_actor_handle_from_car $CC passenger_seat 2
0665: get_actor $CP3 model_to $CP3M
Actor.RemoveReferences($CP3)
$PASSANGER3 = 1
jump @NONAME_570
:NONAME_570
Car.RemoveReferences($CC)
$CC = Car.Create($CM, $CARP1, $CARP2, $CARP3)
Car.Health($CC) = $CH
0229: set_car $CC primary_color_to $CC1 secondary_color_to $CC2
Car.Angle($CC) = $CAA
0129: $CP = create_actor_pedtype 20 model $CPM in_car $CC driverseat
if
$PASSANGER1 == 1
else_jump @NONAME_882
01C8: $CP1 = create_actor_pedtype 20 model $CP1M in_car $CC passenger_seat 0
01B2: give_actor $CP1 weapon 28 ammo 99999 // Load the weapon model before using this
0713: actor $CP1 driveby_actor $PLAYER_ACTOR car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 70
if
$PASSANGER2 == 1
else_jump @NONAME_882
01C8: $CP2 = create_actor_pedtype 20 model $CP2M in_car $CC passenger_seat 1
01B2: give_actor $CP2 weapon 28 ammo 99999 // Load the weapon model before using this
0713: actor $CP2 driveby_actor $PLAYER_ACTOR car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 70
if
$PASSANGER3 == 1
else_jump @NONAME_882
01C8: $CP3 = create_actor_pedtype 20 model $CP3M in_car $CC passenger_seat 2
01B2: give_actor $CP3 weapon 28 ammo 99999 // Load the weapon model before using this
0713: actor $CP3 driveby_actor $PLAYER_ACTOR car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 70
jump @NONAME_882
:NONAME_882
03CC: enable_car $CC stuck_check_distance_to 2.0 time_to 2.0
0423: set_car $CC improved_handling_to 1.35 // (float)
04C4: store_coords_to $CCARPOS1 $CCARPOS2 $CCARPOS3 from_actor $CP with_offset 0.0 75.0 0.0
02C1: store_to $CCARPOS1 $CCARPOS2 $CCARPOS3 car_path_coords_closest_to $CCARPOS1 $CCARPOS2 $CCARPOS3
Car.SetSpeedInstantly($CC, $CS)
Car.DriveTo($CC, $CCARPOS1, $CCARPOS2, $CCARPOS3)
00AE: set_car $CC traffic_behaviour_to 2
Car.SetMaxSpeed($CC, 25.0)
wait 4000
$CM = Marker.CreateAboveCar($CC)
Car.SetToPsychoDriver($CC)
03CC: enable_car $CC stuck_check_distance_to 50.0 time_to 50.0
:NONAME_1028
if
not Actor.Dead($CP)
else_jump @NONAME_2642
if
Car.Defined($CC)
else_jump @NONAME_2642
wait 5
if
0AB0: key_pressed 55
else_jump @NONAME_1086
jump @NONAME_2406
:NONAME_1086
if
not Actor.Dead($CP)
else_jump @NONAME_2642
if
Car.Defined($CC)
else_jump @NONAME_2642
wait 5
if
0AB0: key_pressed 54
else_jump @NONAME_1155
03E5: show_text_box 'CCHA4'
jump @NONAME_1878
:NONAME_1155
wait 5
if
Actor.Driving($CP)
else_jump @NONAME_1212
Car.SetMaxSpeed($CC, 32.0)
if and
Actor.Driving($PLAYER_ACTOR)
0AB0: key_pressed 109
else_jump @NONAME_1028
jump @NONAME_1212
:NONAME_1212
wait 900
Marker.Disable($CM)
$CM = Marker.CreateAboveActor($CP)
Car.SetImmunities($CC, 0, 0, 0, 0, 0)
Car.SetSpeedInstantly($CC, 0.0)
wait 5
if
not Actor.Dead($CP)
else_jump @NONAME_2642
if
$PASSANGER1 == 0
else_jump @NONAME_1300
jump @NONAME_1459
:NONAME_1300
wait 900
05CD: AS_actor $CP exit_car $CC
05CD: AS_actor $CP1 exit_car $CC
wait 500
05E2: AS_actor $CP1 kill_actor $PLAYER_ACTOR
if
$PASSANGER2 == 0
else_jump @NONAME_1359
jump @NONAME_1478
:NONAME_1359
wait 900
$CMP2 = Marker.CreateAboveActor($CP2)
05CD: AS_actor $CP2 exit_car $CC
wait 500
05E2: AS_actor $CP2 kill_actor $PLAYER_ACTOR
if
$PASSANGER3 == 0
else_jump @NONAME_1418
jump @NONAME_1478
:NONAME_1418
wait 900
$CMP3 = Marker.CreateAboveActor($CP3)
05CD: AS_actor $CP3 exit_car $CC
wait 500
05E2: AS_actor $CP3 kill_actor $PLAYER_ACTOR
jump @NONAME_1478
:NONAME_1459
wait 0
05E2: AS_actor $CP kill_actor $PLAYER_ACTOR
jump @NONAME_1478
:NONAME_1478
wait 5
if
not Actor.Dead($CP)
else_jump @NONAME_2642
if and
02D8: actor $PLAYER_ACTOR current_weapon == 23
00F2: actor $PLAYER_ACTOR near_actor $CP radius 10.0 10.0 0
0457: player $PLAYER_CHAR aiming_at_actor $CP
else_jump @NONAME_1478
05C4: AS_actor $CP hands_up 1000 ms
wait 50
05CA: AS_actor $CP enter_car $PA passenger_seat 2 1000 ms
Car.RemoveReferences($CC)
wait 10000
if
not Actor.Dead($CP)
else_jump @NONAME_2642
wait 5
if
Actor.InCar($CP, $PA)
else_jump @NONAME_1639
0526: set_actor $CP stay_in_car 1
039E: set_actor $CP locked 1 while_in_car
jump @NONAME_1710
:NONAME_1639
wait 0
if
not Actor.Dead($CP)
else_jump @NONAME_2642
0430: put_actor $CP into_car $PA passenger_seat 2
0430: put_actor $CP into_car $PA passenger_seat 2
0430: put_actor $CP into_car $PA passenger_seat 2
0526: set_actor $CP stay_in_car 1
039E: set_actor $CP locked 1 while_in_car
jump @NONAME_1710
:NONAME_1710
wait 5
if or
0103: actor $PLAYER_ACTOR in_sphere 1535.88 -1672.608 13.4091 radius 30.0 30.0 30.0 sphere 1 stopped_in_car
0103: actor $PLAYER_ACTOR in_sphere -1994.373 167.3 27.195 radius 30.0 30.0 30.0 sphere 1 stopped_in_car
0103: actor $PLAYER_ACTOR in_sphere -1594.471 662.827 6.785 radius 30.0 30.0 30.0 sphere 1 stopped_in_car
else_jump @NONAME_1710
jump @NONAME_1843
:NONAME_1843
wait 0
0633: AS_actor $CP exit_car
if
not Actor.InCar($CP, $PA)
else_jump @NONAME_1843
jump @NONAME_2631
:NONAME_1878
wait 0
if
not Actor.InCar($CP, $PA)
else_jump @NONAME_1843
if
Actor.Driving($CP)
else_jump @NONAME_1212
if
not Actor.Dead($CP)
else_jump @NONAME_2642
04C4: store_coords_to $LC4 $LC5 $LC6 from_actor $CP with_offset 50.0 50.0 5.0
04C4: store_coords_to $LC1 $LC2 $LC3 from_actor $PLAYER_ACTOR with_offset -50.0 -50.0 5.0
09C0: $POCAR = get_random_car_in_area $LC1 $LC2 $LC4 $LC5 15.0 with_actors -1
if
Car.Defined($POCAR)
else_jump @NONAME_1878
046C: $POCARD = car $POCAR driver
if
Actor.Defined($POCARD)
else_jump @NONAME_1878
if or
Car.Model($POCAR) == #COPCARLA
Car.Model($POCAR) == #COPCARRU
Car.Model($POCAR) == #COPCARSF
Car.Model($POCAR) == #COPCARVG
else_jump @NONAME_1878
046C: $POCARD = car $POCAR driver
0337: set_actor $POCARD visibility 0
0362: remove_actor $POCARD from_car_and_place_at 2239.367 -1261.939 22.9375
Actor.DestroyInstantly($POCARD)
wait 50
Actor.RemoveReferences($POCARD)
wait 1000
0129: $POCARD = create_actor_pedtype 6 model #LAPD1 in_car $POCAR driverseat
0337: set_actor $POCARD visibility 1
0397: enable_car $POCAR siren 1
07F8: car $POCAR follow_car $CC radius 8.0
Car.SetMaxSpeed($POCAR, 50.0)
0423: set_car $POCAR improved_handling_to 1.5 // (float)
00AE: set_car $POCAR traffic_behaviour_to 2
03E5: show_text_box 'CCHA1'
$POLNOTIFICATIONSHOWED = 1
if
$PASSANGER1 == 1
else_jump @NONAME_1155
0713: actor $CP1 driveby_actor $POCARD car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 50
if
$PASSANGER2 == 1
else_jump @NONAME_1155
0713: actor $CP2 driveby_actor $POCARD car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 50
if
$PASSANGER3 == 1
else_jump @NONAME_1155
0713: actor $CP3 driveby_actor $POCARD car -1 point 0.0 0.0 0.0 radius 100.0 4 1 firing_rate 50
jump @NONAME_1155
:NONAME_2406
wait 0
if
$HELINOTIFICATIONSHOWED == 0
else_jump @NONAME_2435
jump @NONAME_2457
:NONAME_2435
wait 0
03E5: show_text_box 'CCHA3'
jump @NONAME_1155
:NONAME_2457
wait 0
if
not Actor.InCar($CP, $PA)
else_jump @NONAME_1843
if
Actor.Driving($CP)
else_jump @NONAME_1212
if
not Actor.Dead($CP)
else_jump @NONAME_2642
04C4: store_coords_to $HLC1 $HLC2 $HLC3 from_actor $PLAYER_ACTOR with_offset -30.0 -30.0 1000.0
02C1: store_to $HLC1 $HLC2 $HLC3 car_path_coords_closest_to $HLC1 $HLC2 $HLC3
$HELI = Car.Create(#POLMAV, $HLC1, $HLC2, $HLC3)
0129: $HELID = create_actor_pedtype 6 model #LAPD1 in_car $HELI driverseat
0726: heli $HELI follow_actor $CP follow_car -1 radius 15.0
03E5: show_text_box 'CCHA2'
$HELINOTIFICATIONSHOWED = 1
jump @NONAME_1155
:NONAME_2631
wait 0
jump @NONAME_2642
:NONAME_2642
wait 0
if
$HELINOTIFICATIONSHOWED == 0
else_jump @NONAME_2707
if
$POLNOTIFICATIONSHOWED == 0
else_jump @NONAME_2740
if
$PASSANGER1 == 0
else_jump @NONAME_2773
jump @NONAME_2864
:NONAME_2707
wait 0
Car.RemoveReferences($HELI)
Actor.RemoveReferences($HELID)
$HELINOTIFICATIONSHOWED = 0
wait 500
jump @NONAME_2631
:NONAME_2740
wait 0
Actor.RemoveReferences($POCARD)
Car.RemoveReferences($POCAR)
$POLNOTIFICATIONSHOWED = 0
wait 500
jump @NONAME_2631
:NONAME_2773
wait 0
Actor.RemoveReferences($CP1)
$PASSANGER1 = 0
if
$PASSANGER2 == 0
else_jump @NONAME_2814
jump @NONAME_2631
:NONAME_2814
wait 0
Actor.RemoveReferences($CP2)
if
$PASSANGER3 == 0
else_jump @NONAME_2848
jump @NONAME_2631
:NONAME_2848
wait 0
Actor.RemoveReferences($CP3)
jump @NONAME_2631
:NONAME_2864
wait 0
Marker.Disable($CM)
Car.SetImmunities($CC, 0, 0, 0, 0, 0)
Actor.RemoveReferences($CP)
Car.RemoveReferences($CC)
Car.RemoveReferences($PA)
Player.Money($PLAYER_CHAR) += 500
$ONMISSION = 0
wait 500
jump @NONAME_2