// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 06.11.2008
www.gtamod.do.am
{$VERSION 3.1.0030}
{$CLEO .cs}

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

:NONAME_2
wait 0 
if 
   Player.Defined($PLAYER_CHAR)
jf @NONAME_2 
wait 0 
1@ = -1 
if 
   not Actor.Driving($PLAYER_ACTOR)
jf @NONAME_2 
if and
0AB0:   key_pressed 8
0AB0:   key_pressed 84 
jf @NONAME_2  
:PANEL_1
wait 0

:modelr
 $CMODEL = -1
0209: $CMODEL = random_int_in_ranges 400 611
if and
not $CMODEL == 435
not $CMODEL == 441
not $CMODEL == 449
not $CMODEL == 450
not $CMODEL == 464
not $CMODEL == 465
not $CMODEL == 501
not $CMODEL == 537
not $CMODEL == 610
jf @modelr
if and
not $CMODEL == 569
not $CMODEL == 570
not $CMODEL == 584
not $CMODEL == 590
not $CMODEL == 591
not $CMODEL == 606
not $CMODEL == 607
not $CMODEL == 608
not $CMODEL == 611
jf @modelr
28@ = -1.5
jump @NONAME_78


jump @NONAME_78 
:tel
Model.Load(#CELLPHONE)
Model.Load(2903)
038B: load_requested_models 
wait 1000
return
:cars
Model.Load(#AT400)
Model.Load($CMODEL)
038B: load_requested_models 
return

:NONAME_78
0581: toggle_radar 1 //  
03E6: remove_text_box //  text_box
08DA: remove_panel $PANEL0K //  
01B4: toggle_player $PLAYER_CHAR can_move 1 
if and
Model.Available(2919)
   Model.Available(#CELLPHONE)
0AA0: gosub_if_false  @tel 
0729: AS_actor $PLAYER_ACTOR hold_cellphone 1 
wait 3000 
jump @NONAME_125 

:NONAME_125
wait 0 
if and
   Model.Available(#AT400)
   Model.Available($CMODEL)
0AA0: gosub_if_false  @cars
0729: AS_actor $PLAYER_ACTOR hold_cellphone 0 
0172: 18@ = actor $PLAYER_ACTOR Z_angle 
18@ += -225.0
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 450.0 450.0 100.0 
0@ = Car.Create(#AT400, 1@, 2@, 3@)
4@ = Car.Create($CMODEL, 0.0, 0.0, 0.0)
08E6: plane 0@ change_landing_gear 0
053F: set_car 4@ tires_vulnerability 0 
01EC: make_car 4@ very_heavy 1 
marker.CreateAboveCar(19@,0@)
marker.SetColor(19@,59) 
0175: set_car 0@ Z_angle_to 18@
0175: set_car 4@ Z_angle_to 18@ 
Car.LockInCurrentPosition(0@) = True
Car.DoorStatus(4@,0)
04C4: store_coords_to 5@ 6@ 7@ from_actor $PLAYER_ACTOR with_offset 15.0 15.0 100.0 
0683: attach_car 4@ to_car 0@ with_offset 0.0 0.0 28@ rotation 0.0 0.0 0.0 
04D2: unknown_RC_car 0@ race_to 5@ 6@ 7@ 0.0 0.0
0560: create_random_actor_in_car 0@ handle_as 30@ 
0229: set_car 4@ primary_color_to 0 secondary_color_to 0 
0229: set_car 0@ primary_color_to 0 secondary_color_to 0 
Car.SetImmunities(0@, 0,0, 0, 1, 1)
Car.SetImmunities(4@, 1, 1, 1, 1, 1)
wait 100 
Car.LockInCurrentPosition(0@) = False
Car.SetSpeedInstantly(0@,30.0)
if 
   Model.Available(#CELLPHONE)
0AA0: gosub_if_false  @teld 
if and
   Model.Available(#AT400)
   Model.Available($CMODEL)
0AA0: gosub_if_false  @cdes 
jump @NONAME_427
:cdes
Model.Destroy(#AT400)
Model.Destroy($CMODEL)
return
:teld
Model.Destroy(#CELLPHONE)
return

:NONAME_427
wait 10 
if or
01F4:   car 4@ flipped 
051C:   car 0@ damaged_by_actor $PLAYER_ACTOR 
051C:   car 4@ damaged_by_actor $PLAYER_ACTOR
01AF:   car 0@ sphere 0 in_sphere 5@ 6@ 7@ radius 30.0 30.0 40.0
jf @NONAME_427  
 Marker.Disable(19@)


:NONAME_997
wait 10 
0684: detach_car 4@ 0.0 0.0 -6.5 collision_detection 1 
Car.LockInCurrentPosition(4@) = True 
04D2: unknown_RC_car 0@ race_to 250.0 0.0 7@ 0.0 0.0
Actor.RemoveReferences(30@)
jump @NONAME_1089
:tr2
Car.SetSpeedInstantly(4@,7.0) 
jump @tr1
:NONAME_1089 
wait 10
Car.LockInCurrentPosition(4@) = False
Car.SetSpeedInstantly(4@,0.0)
Car.SetSpeedInstantly(0@,50.0)

:par1
wait 10
0407: store_coords_to 14@ 15@ 16@ from_car 4@ with_offset 0.0 0.0 0.0 
02CE: 20@ = ground_z_at 14@ 15@ 16@ 
20@ += 18.5 
if or
0AB0:   key_pressed 9
0025: 20@ > 16@
jf @par1
11@ = Object.Create(2903, 4@, 5@, 6@)
0681: attach_object 11@ to_car 4@ with_offset 0.0 0.0 6.6 rotation 0.0 0.0 0.0
0382: set_object 11@ collision_detection 0  
Car.SetSpeedInstantly(4@,7.0) 
wait 100


:tr1
wait 20
0400: store_coords_to 14@ 15@ 16@ from_object 11@ with_offset 0.0 0.0 0.0 
02CE: 21@ = ground_z_at 14@ 15@ 16@ 
21@ += 8.5 
02E3: 24@ = car 4@ speed 
if or
0AB0:   key_pressed 8
0025:   21@ > 16@ // (float)  
not 24@ > 3.0
jf @tr2
wait 20
02E3: 24@ = car 4@ speed 
if or
0AB0:   key_pressed 8
0025:   21@ > 16@ 
not 24@ > 3.0
jf @tr2
:NONAME_1234
Car.SetSpeedInstantly(4@,0.0)
Object.Destroy(11@)
Object.RemoveReferences(11@)
Model.Destroy(2903)
wait 10000   
Car.Destroy(0@)
Car.RemoveReferences(0@)
jump @NONAME_2 
