SB code.txt.txt

(3 KB) Pobierz
create_thread @PLANEZ0

//------------------- Planes ---------------------------------

:PLANEZ0
thread 'PLANEZ'

:PLANEINIT_298
wait 0
0209: 3@ = random_int 0 7 
0871: init_jump_table 3@ total_jumps 7 0 @PLANEINIT_299 jumps 0 @PLANEINIT_299 1 @PLANEINIT_320 2 @PLANEINIT_341 3 @PLANEINIT_363 4 @PLANEINIT_385 5 @PLANEINIT_407 6 @PLANEINIT_429 

:PLANEINIT_299
4@ = 1473.33 // integer values 
5@ = -2600.0 // integer values            
6@ = 13.5895
7@ = 270
8@ = 41
10@ = 100000
12@ = 1994.5245
13@ = -2487.4561
14@ = 13.0822
jump @PLANEZ1 

:PLANEINIT_320    
4@ = 1577.298 // integer values 
5@ = -2493.749 // integer values
6@ = 13.5895
7@ = 270
8@ = 42
10@ = 120000
12@ = 1994.5245
13@ = -2487.4561
14@ = 13.0822
jump @PLANEZ1 

:PLANEINIT_341
4@ = 1577.298 // integer values 
5@ = -2493.749 // integer values
6@ = 13.5895
7@ = 270
8@ = 46
10@ = 80000
12@ = 1994.5245
13@ = -2487.4561
14@ = 13.0822
jump @PLANEZ1 

:PLANEINIT_363              
4@ = 1479.46 // integer values 
5@ = 1641.41 // integer values            
6@ = 10.4851
7@ = 180
8@ = 43
10@ = 50000
12@ = 1479.9421
13@ = 1697.2932
14@ = 10.3581
jump @PLANEZ1 

:PLANEINIT_385
4@ = 1479.46 // integer values 
5@ = 1641.41 // integer values            
6@ = 10.4851
7@ = 180
8@ = 48
10@ = 90000
12@ = 1479.9421
13@ = 1697.2932
14@ = 10.3581
jump @PLANEZ1 

:PLANEINIT_407
4@ = -1586.67 // integer values 
5@ = -93.33 // integer values            
6@ = 44.0
7@ = 314
8@ = 44
10@ = 120000
12@ = -1541.494
13@ = -47.5275
14@ = 13.6904 
jump @PLANEZ1 

:PLANEINIT_429
4@ = -1626.0 // integer values 
5@ = -137.3 // integer values
6@ = 13.0
7@ = 314
8@ = 49
10@ = 70000
12@ = -1541.494
13@ = -47.5275
14@ = 13.6904

:PLANEZ1
wait 0 
Model.Load(#AT400)
Model.Load(#WMYPLT)
038B: load_requested_models 

:PLANEZ1_38
wait 0 
if and
   Model.Available(#AT400)
   Model.Available(#WMYPLT) 
else_jump @PLANEZ1_38
0395: clear_area 1 at 4@ 5@ 6@ range 40.0 
0@ = Car.Create(#AT400, 4@, 5@, 6@)
Car.Angle(0@) = 7@
0209: 1@ = random_int 0 3 
06ED: set_car 0@ paintjob 1@
0129: 11@ = create_actor_pedtype 4 model #WMYPLT in_car 0@ driverseat
01C8: 12@ = create_actor 4 #WMYPLT in_car 0@ passenger_seat 0
Model.Destroy(#WMYPLT)
Model.Destroy(#AT400)
07C0: load_path 8@ 

:PLANEZ1_139
wait 0 
if 
07C1:   path 8@ available 
else_jump @PLANEZ1_139 
if 
   not Car.Wrecked(0@)
else_jump @PLANEZ1_324 
05EB: assign_vehicle 0@ to_path 8@
32@ = 0 // integer values 

:PLANEZ1_195
wait 500 
if
   not Car.Wrecked(0@)
else_jump @PLANEZ1_324 
if 
  32@ > 30000 // integer values 
else_jump @PLANEZ1_195
if 
060E:   not  0@ 
else_jump @PLANEZ1_324
08E6: set_plane 0@ landing_gear  1
32@ =  0

:PLANEZZ_305B
wait  500 ms    
if 
   not Car.Wrecked(0@)
else_jump @PLANEZ1_324
if
001D:  32@ > 10@ // integer values 
else_jump @PLANEZZ_305B 
if 
060E:   not  0@ 
else_jump @PLANEZ1_324
08E6: set_plane 0@ landing_gear  0
32@ =  0

:PLANEZZ_305C
wait  500 ms
if
   not Car.Wrecked(0@)
else_jump @PLANEZ1_324
0395: clear_area 1 at 12@ 13@ 14@ range 40.0
if
  32@ > 60000
else_jump @PLANEZZ_305C
         
:PLANEZ1_324
wait 100
Car.RemoveReferences(0@)
Actor.RemoveReferences(11@)
06C5: release_car 0@ from_path
0873: release_path 8@
jump @PLANEINIT_298
Zgłoś jeśli naruszono regulamin