-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmm.sc
2178 lines (1958 loc) · 64.3 KB
/
mm.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
MISSION_START
// *****************************************************************************************
// *****************************************************************************************
// *****************************************Miami Massacre******r***************************
// *****************************************Courtesy of Demolition Derby********************
// *****************************************************************************************
// *****************************************************************************************
SCRIPT_NAME mm
// Mission start stuff
GOSUB mission_start_mm
IF HAS_DEATHARREST_BEEN_EXECUTED
GOSUB mission_failed_mm
ENDIF
GOSUB mission_cleanup_mm
MISSION_END
{
// Variables for mission
//people, cars and objects
VAR_INT mm_car1
VAR_INT mm_car2
VAR_INT mm_car3
VAR_INT mm_car4
VAR_INT mm_car5
VAR_INT mm_car6
VAR_INT mm_car7
VAR_INT mm_car8
VAR_INT mm_car9
VAR_INT mm_car10
VAR_INT mm_car11
VAR_INT mm_car12
VAR_INT mm_car13
VAR_INT mm_car14
VAR_INT mm_car15
VAR_INT mm_car16
VAR_INT mm_driver1
VAR_INT mm_driver2
VAR_INT mm_driver3
VAR_INT mm_driver4
VAR_INT mm_driver5
VAR_INT mm_driver6
VAR_INT mm_driver7
VAR_INT mm_driver8
VAR_INT mm_driver9
VAR_INT mm_driver10
VAR_INT mm_driver11
VAR_INT mm_driver12
VAR_INT mm_driver13
VAR_INT mm_driver14
VAR_INT mm_driver15
VAR_INT mm_driver16
VAR_INT mmplayer_car
//flags
VAR_INT random_garage
VAR_INT cars_created
VAR_INT mm_cars_killed
VAR_INT mm_countdown
VAR_INT mm_attempt
VAR_INT mm_best_time
VAR_INT mm_longest_time
VAR_INT mm_car_health
VAR_INT mm_car_health_divided
VAR_INT where_is_player
VAR_INT zero_where_player
VAR_INT zero1
VAR_INT zero2
VAR_INT zero3
VAR_INT zero4
VAR_INT time_to_beat
VAR_INT letting_cars_do_stuff
VAR_INT mm_audio_flag
VAR_INT mm_sound1
VAR_INT mm_sound_playing
VAR_INT mm_cuntie
VAR_INT mm_adding_health
//coordinates
VAR_FLOAT random_car_node_x
VAR_FLOAT random_car_node_y
VAR_FLOAT random_car_node_z
VAR_FLOAT mm_car_heading
VAR_FLOAT rnd_float1x
VAR_FLOAT rnd_float1y
VAR_FLOAT rnd_float2x
VAR_FLOAT rnd_float2y
VAR_FLOAT rnd_float3x
VAR_FLOAT rnd_float3y
VAR_FLOAT rnd_float4x
VAR_FLOAT rnd_float4y
VAR_FLOAT plyr_rndx
VAR_FLOAT plyr_rndy
VAR_FLOAT plyr_rndz
//blips
VAR_INT plyr_checkpoint_blip
// ****************************************Mission Start************************************
mission_start_mm:
CLEAR_THIS_PRINT M_FAIL
flag_player_on_mission = 1
IF mm_mission_passed_once = 0
REGISTER_MISSION_GIVEN
ENDIF
SET_TIME_OF_DAY 10 0
//forcing weather to be nice
FORCE_WEATHER_NOW WEATHER_EXTRA_SUNNY
SET_PLAYER_IS_IN_STADIUM TRUE
SET_FREE_HEALTH_CARE player1 TRUE
WAIT 0
LOAD_MISSION_TEXT MM
// *****************************************Set Flags/variables************************************
random_garage = 0
cars_created = 16
mm_cars_killed = 0
IF mm_attempt = 0
mm_best_time = 1
mm_longest_time = 60
time_to_beat = 60000
ENDIF
mm_countdown = 30000
mm_car_health = 0
mm_car_health_divided = 0
where_is_player = 0
zero_where_player = 0
zero1 = 0
zero2 = 0
zero3 = 0
zero4 = 0
letting_cars_do_stuff = 0
mm_audio_flag = 0
mm_sound1 = 0
mm_sound_playing = 0
mm_cuntie = 0
mm_adding_health = 0
random_car_node_x = 0.0
random_car_node_y = 0.0
random_car_node_z = 0.0
mm_car_heading = 0.0
player_x = 0.0
player_y = 0.0
player_z = 0.0
plyr_rndx = 0.0
plyr_rndy = 0.0
plyr_rndz = 0.0
GOTO mm_fool_compiler // SCFIX: remove flag_player_on_mission = 0 check
ADD_BLIP_FOR_COORD plyr_rndx plyr_rndy plyr_rndz plyr_checkpoint_blip
mm_fool_compiler: // SCFIX: remove flag_player_on_mission = 0 check
//------------------REQUEST_MODELS ------------------------------
REQUEST_MODEL bloodrb
REQUEST_MODEL bloodra
REQUEST_MODEL WMYCR
WHILE NOT HAS_MODEL_LOADED bloodrb
OR NOT HAS_MODEL_LOADED bloodra
OR NOT HAS_MODEL_LOADED WMYCR
WAIT 0
ENDWHILE
OVERRIDE_NEXT_RESTART -1102.4 1331.2 19.0 271.2
//getting player into destruction derby
SET_PLAYER_CONTROL player1 OFF
SET_EVERYONE_IGNORE_PLAYER player1 ON
CLEAR_WANTED_LEVEL player1
SET_AREA_VISIBLE VIS_BLOOD
SWITCH_RUBBISH OFF
SET_CAR_DENSITY_MULTIPLIER 0.0
SET_PED_DENSITY_MULTIPLIER 0.0
SHUT_PLAYER_UP player1 TRUE
LOAD_SCENE -1379.3 1000.0 251.5
//LOAD_SCENE -1280.960 994.86 261.8
IF IS_PLAYER_IN_ANY_CAR player1
WARP_PLAYER_FROM_CAR_TO_COORD player1 -1280.960 994.86 261.8
ELSE
SET_PLAYER_COORDINATES player1 -1280.960 994.86 261.8
ENDIF
CREATE_CAR bloodra -1280.960 994.86 261.8 mmplayer_car
LOCK_CAR_DOORS mmplayer_car CARLOCK_LOCKED_PLAYER_INSIDE
WARP_PLAYER_INTO_CAR player1 mmplayer_car
SET_CAR_STRONG mmplayer_car TRUE
SET_CAR_HEADING mmplayer_car 90.0
SET_PLAYER_HEADING player1 80.0
SET_EXTRA_COLOURS 10 FALSE
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mmplayer_car TRUE
SET_CAR_HEALTH mmplayer_car 1249
random_car_node_x = -1285.77
random_car_node_y = 1014.54
random_car_node_z = 263.0
mm_car_heading = 104.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car1
SET_CAR_HEADING mm_car1 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car1 255
CREATE_CHAR_INSIDE_CAR mm_car1 PEDTYPE_CIVMALE WMYCR mm_driver1
SHUT_CHAR_UP mm_driver1 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car1 TRUE
ADD_STUCK_CAR_CHECK mm_car1 1.5 4000
SET_CAR_DRIVING_STYLE mm_car1 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car1 TRUE
//SET_CAR_HEALTH mm_car1 750
random_car_node_x = -1299.50
random_car_node_y = 1030.74
random_car_node_z = 263.0
mm_car_heading = 132.6
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car2
SET_CAR_HEADING mm_car2 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car2 255
CREATE_CHAR_INSIDE_CAR mm_car2 PEDTYPE_CIVMALE WMYCR mm_driver2
SHUT_CHAR_UP mm_driver2 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car2 TRUE
ADD_STUCK_CAR_CHECK mm_car2 1.5 4000
SET_CAR_DRIVING_STYLE mm_car2 DRIVINGMODE_PLOUGHTHROUGH
SET_CAR_MISSION mm_car2 MISSION_RAMPLAYER_FARAWAY
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car2 TRUE
//SET_CAR_HEALTH mm_car2 750
random_car_node_x = -1319.30
random_car_node_y = 1042.82
random_car_node_z = 263.0
mm_car_heading = 135.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car3
SET_CAR_HEADING mm_car3 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car3 255
CREATE_CHAR_INSIDE_CAR mm_car3 PEDTYPE_CIVMALE WMYCR mm_driver3
SHUT_CHAR_UP mm_driver3 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car3 TRUE
ADD_STUCK_CAR_CHECK mm_car3 1.5 4000
SET_CAR_DRIVING_STYLE mm_car3 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car3 TRUE
//SET_CAR_HEALTH mm_car3 750
random_car_node_x = -1349.33
random_car_node_y = 1054.47
random_car_node_z = 263.0
mm_car_heading = 155.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car4
SET_CAR_HEADING mm_car4 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car4 255
CREATE_CHAR_INSIDE_CAR mm_car4 PEDTYPE_CIVMALE WMYCR mm_driver4
SHUT_CHAR_UP mm_driver4 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car4 TRUE
ADD_STUCK_CAR_CHECK mm_car4 1.5 4000
SET_CAR_DRIVING_STYLE mm_car4 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car4 TRUE
//SET_CAR_HEALTH mm_car4 750
random_car_node_x = -1384.33
random_car_node_y = 1058.55
random_car_node_z = 263.0
mm_car_heading = 173.2
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car5
SET_CAR_HEADING mm_car5 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car5 255
CREATE_CHAR_INSIDE_CAR mm_car5 PEDTYPE_CIVMALE WMYCR mm_driver5
SHUT_CHAR_UP mm_driver5 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car5 TRUE
ADD_STUCK_CAR_CHECK mm_car5 1.5 4000
SET_CAR_DRIVING_STYLE mm_car5 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car5 TRUE
//SET_CAR_HEALTH mm_car5 750
random_car_node_x = -1293.77 //guy next to player
random_car_node_y = 958.96
random_car_node_z = 263.0
mm_car_heading = 60.5
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car6
SET_CAR_HEADING mm_car6 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car6 255
CREATE_CHAR_INSIDE_CAR mm_car6 PEDTYPE_CIVMALE WMYCR mm_driver6
SHUT_CHAR_UP mm_driver6 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car6 TRUE
ADD_STUCK_CAR_CHECK mm_car6 1.5 4000
SET_CAR_DRIVING_STYLE mm_car6 DRIVINGMODE_PLOUGHTHROUGH
SET_CAR_MISSION mm_car6 MISSION_RAMPLAYER_FARAWAY
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car6 TRUE
//SET_CAR_HEALTH mm_car6 750
random_car_node_x = -1418.77
random_car_node_y = 1057.54
random_car_node_z = 263.0
mm_car_heading = 180.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car7
SET_CAR_HEADING mm_car7 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car7 255
CREATE_CHAR_INSIDE_CAR mm_car7 PEDTYPE_CIVMALE WMYCR mm_driver7
SHUT_CHAR_UP mm_driver7 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car7 TRUE
ADD_STUCK_CAR_CHECK mm_car7 1.5 4000
SET_CAR_DRIVING_STYLE mm_car7 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car7 TRUE
//SET_CAR_HEALTH mm_car7 750
random_car_node_x = -1460.3
random_car_node_y = 1050.3
random_car_node_z = 263.0
mm_car_heading = 242.9
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car8
SET_CAR_HEADING mm_car8 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car8 255
CREATE_CHAR_INSIDE_CAR mm_car8 PEDTYPE_CIVMALE WMYCR mm_driver8
SHUT_CHAR_UP mm_driver8 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car8 TRUE
ADD_STUCK_CAR_CHECK mm_car8 1.5 4000
SET_CAR_DRIVING_STYLE mm_car8 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car8 TRUE
//SET_CAR_HEALTH mm_car8 750
random_car_node_x = -1499.77
random_car_node_y = 1029.54
random_car_node_z = 263.0
mm_car_heading = 242.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car9
SET_CAR_HEADING mm_car9 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car9 255
CREATE_CHAR_INSIDE_CAR mm_car9 PEDTYPE_CIVMALE WMYCR mm_driver9
SHUT_CHAR_UP mm_driver9 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car9 TRUE
ADD_STUCK_CAR_CHECK mm_car9 1.5 4000
SET_CAR_DRIVING_STYLE mm_car9 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car9 TRUE
//SET_CAR_HEALTH mm_car9 750
random_car_node_x = -1513.77
random_car_node_y = 986.54
random_car_node_z = 263.0
mm_car_heading = 271.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car10
SET_CAR_HEADING mm_car10 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car10 255
CREATE_CHAR_INSIDE_CAR mm_car10 PEDTYPE_CIVMALE WMYCR mm_driver10
SHUT_CHAR_UP mm_driver10 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car10 TRUE
ADD_STUCK_CAR_CHECK mm_car10 1.5 4000
SET_CAR_DRIVING_STYLE mm_car10 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car10 TRUE
//SET_CAR_HEALTH mm_car10 750
random_car_node_x = -1496.77
random_car_node_y = 959.54
random_car_node_z = 263.0
mm_car_heading = 293.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car11
SET_CAR_HEADING mm_car11 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car11 255
CREATE_CHAR_INSIDE_CAR mm_car11 PEDTYPE_CIVMALE WMYCR mm_driver11
SHUT_CHAR_UP mm_driver11 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car11 TRUE
ADD_STUCK_CAR_CHECK mm_car11 1.5 4000
SET_CAR_DRIVING_STYLE mm_car11 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car11 TRUE
//SET_CAR_HEALTH mm_car11 750
random_car_node_x = -1461.84
random_car_node_y = 938.32
random_car_node_z = 261.0
mm_car_heading = 345.6
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car12
SET_CAR_HEADING mm_car12 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car12 255
CREATE_CHAR_INSIDE_CAR mm_car12 PEDTYPE_CIVMALE WMYCR mm_driver12
SHUT_CHAR_UP mm_driver12 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car12 TRUE
ADD_STUCK_CAR_CHECK mm_car12 1.5 4000
SET_CAR_DRIVING_STYLE mm_car12 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car12 TRUE
//SET_CAR_HEALTH mm_car12 750
random_car_node_x = -1424.36
random_car_node_y = 931.29
random_car_node_z = 261.0
mm_car_heading = 0.0
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car13
SET_CAR_HEADING mm_car13 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car13 255
CREATE_CHAR_INSIDE_CAR mm_car13 PEDTYPE_CIVMALE WMYCR mm_driver13
SHUT_CHAR_UP mm_driver13 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car13 TRUE
ADD_STUCK_CAR_CHECK mm_car13 1.5 4000
SET_CAR_DRIVING_STYLE mm_car13 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car13 TRUE
//SET_CAR_HEALTH mm_car13 750
random_car_node_x = -1363.77
random_car_node_y = 932.44
random_car_node_z = 261.0
mm_car_heading = 17.85
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car14
SET_CAR_HEADING mm_car14 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car14 255
CREATE_CHAR_INSIDE_CAR mm_car14 PEDTYPE_CIVMALE WMYCR mm_driver14
SHUT_CHAR_UP mm_driver14 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car14 TRUE
ADD_STUCK_CAR_CHECK mm_car14 1.5 4000
SET_CAR_DRIVING_STYLE mm_car14 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car14 TRUE
//SET_CAR_HEALTH mm_car14 750
random_car_node_x = -1332.77
random_car_node_y = 940.30
random_car_node_z = 263.0
mm_car_heading = 39.98
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car15
SET_CAR_HEADING mm_car15 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car15 255
CREATE_CHAR_INSIDE_CAR mm_car15 PEDTYPE_CIVMALE WMYCR mm_driver15
SHUT_CHAR_UP mm_driver15 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car15 TRUE
ADD_STUCK_CAR_CHECK mm_car15 1.5 4000
SET_CAR_DRIVING_STYLE mm_car15 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car15 TRUE
//SET_CAR_HEALTH mm_car15 750
random_car_node_x = -1443.29
random_car_node_y = 933.86
random_car_node_z = 261.0
mm_car_heading = 351.4
CREATE_CAR bloodrb random_car_node_x random_car_node_y random_car_node_z mm_car16
SET_CAR_HEADING mm_car16 mm_car_heading
SET_CAR_STRAIGHT_LINE_DISTANCE mm_car16 255
CREATE_CHAR_INSIDE_CAR mm_car16 PEDTYPE_CIVMALE WMYCR mm_driver16
SHUT_CHAR_UP mm_driver16 TRUE
//SET_CAR_ONLY_DAMAGED_BY_PLAYER mm_car16 TRUE
ADD_STUCK_CAR_CHECK mm_car16 1.5 4000
SET_CAR_DRIVING_STYLE mm_car16 DRIVINGMODE_PLOUGHTHROUGH
SET_UPSIDEDOWN_CAR_NOT_DAMAGED mm_car16 TRUE
//SET_CAR_HEALTH mm_car16 750
SET_CAR_CRUISE_SPEED mm_car1 0.0
SET_CAR_CRUISE_SPEED mm_car2 0.0
SET_CAR_CRUISE_SPEED mm_car3 0.0
SET_CAR_CRUISE_SPEED mm_car4 0.0
SET_CAR_CRUISE_SPEED mm_car5 0.0
SET_CAR_CRUISE_SPEED mm_car6 0.0
SET_CAR_CRUISE_SPEED mm_car7 0.0
SET_CAR_CRUISE_SPEED mm_car8 0.0
SET_CAR_CRUISE_SPEED mm_car9 0.0
SET_CAR_CRUISE_SPEED mm_car10 0.0
SET_CAR_CRUISE_SPEED mm_car11 0.0
SET_CAR_CRUISE_SPEED mm_car12 0.0
SET_CAR_CRUISE_SPEED mm_car13 0.0
SET_CAR_CRUISE_SPEED mm_car14 0.0
SET_CAR_CRUISE_SPEED mm_car15 0.0
SET_CAR_CRUISE_SPEED mm_car16 0.0
// ******************************************START OF Demolition Derby*******************************************
SWITCH_WIDESCREEN ON
SET_FIXED_CAMERA_POSITION -1266.5 1042.8 278.3 0.0 0.0 0.0
POINT_CAMERA_AT_POINT -1339.9 1009.8 252.0 JUMP_CUT
SET_FADING_COLOUR 0 0 0
WAIT 500
DO_FADE 1500 FADE_IN
WHILE GET_FADING_STATUS
WAIT 0
ENDWHILE
IF IS_PLAYER_PLAYING player1
SET_EVERYONE_IGNORE_PLAYER player1 OFF
ENDIF
timera = 0
PRINT_NOW ( BLOD_01 ) 5000 1 //Drive through the checkpoints to increase your overall time.
button_pressed = 0 // SCFIX: fix skips not working
WHILE timera < 5000
WAIT 0
IF IS_BUTTON_PRESSED PAD1 CROSS
IF button_pressed = 1
button_pressed = 0
GOTO skip_mm_initial_cutscene
ENDIF
ELSE
IF button_pressed = 0
button_pressed = 1
ENDIF
ENDIF
ENDWHILE
timera = 0
SET_FIXED_CAMERA_POSITION -1468.7 948.8 262.9 0.0 0.0 0.0
POINT_CAMERA_AT_POINT -1459.5 942.2 261.6 JUMP_CUT
PRINT_NOW ( BLOD_02 ) 5000 1 //You will lose if your overall time reaches zero.
button_pressed = 0 // SCFIX: fix skips not working
WHILE timera < 5000
WAIT 0
IF IS_BUTTON_PRESSED PAD1 CROSS
IF button_pressed = 1
button_pressed = 0
GOTO skip_mm_initial_cutscene
ENDIF
ELSE
IF button_pressed = 0
button_pressed = 1
ENDIF
ENDIF
ENDWHILE
timera = 0
SET_FIXED_CAMERA_POSITION -1262.7 997.2 266.8 0.0 0.0 0.0
POINT_CAMERA_AT_POINT -1277.6 996.0 263.6 JUMP_CUT
PRINT_NOW ( BLOD_03 ) 5000 1 //Get your overall time above the Target Time to win!
button_pressed = 0 // SCFIX: fix skips not working
WHILE timera < 5000
WAIT 0
IF IS_BUTTON_PRESSED PAD1 CROSS
IF button_pressed = 1
button_pressed = 0
GOTO skip_mm_initial_cutscene
ENDIF
ELSE
IF button_pressed = 0
button_pressed = 1
ENDIF
ENDIF
ENDWHILE
timera = 0
skip_mm_initial_cutscene:
CLEAR_PRINTS
RESTORE_CAMERA_JUMPCUT
SET_CAMERA_BEHIND_PLAYER
SWITCH_WIDESCREEN OFF
// ******************************************END OF PLAYER GETTING INTO BOAT*********************************************
PRINT_BIG ( RACE2 ) 1100 4 //"THREE"
ADD_ONE_OFF_SOUND 0.0 0.0 0.0 SOUND_RACE_START_3
WAIT 1000
PRINT_BIG ( RACE3 ) 1100 4 //"TWO"
ADD_ONE_OFF_SOUND 0.0 0.0 0.0 SOUND_RACE_START_2
WAIT 1000
PRINT_BIG ( RACE4 ) 1100 4 //"ONE"
ADD_ONE_OFF_SOUND 0.0 0.0 0.0 SOUND_RACE_START_1
WAIT 1000
PRINT_BIG ( RACE5 ) 800 4 //"GO!"
ADD_ONE_OFF_SOUND 0.0 0.0 0.0 SOUND_RACE_START_GO
WAIT 800
CLEAR_PRINTS
SET_PLAYER_CONTROL player1 ON
IF NOT IS_CAR_DEAD mm_car1
SET_CAR_CRUISE_SPEED mm_car1 100.0
SET_CAR_TEMP_ACTION mm_car1 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car2
SET_CAR_RAM_CAR mm_car1 mm_car2
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car2
SET_CAR_CRUISE_SPEED mm_car2 100.0
SET_CAR_TEMP_ACTION mm_car2 TEMPACT_GOFORWARD 5000
SET_CAR_MISSION mm_car2 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car3
SET_CAR_CRUISE_SPEED mm_car3 100.0
SET_CAR_TEMP_ACTION mm_car3 TEMPACT_GOFORWARD 5000
ENDIF
IF NOT IS_CAR_DEAD mm_car4
SET_CAR_CRUISE_SPEED mm_car4 100.0
SET_CAR_TEMP_ACTION mm_car4 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car5
SET_CAR_RAM_CAR mm_car4 mm_car5
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car5
SET_CAR_CRUISE_SPEED mm_car5 100.0
SET_CAR_TEMP_ACTION mm_car5 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car6
SET_CAR_RAM_CAR mm_car5 mm_car6
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car6
SET_CAR_CRUISE_SPEED mm_car6 100.0
SET_CAR_TEMP_ACTION mm_car6 TEMPACT_GOFORWARD 5000
SET_CAR_MISSION mm_car6 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car7
SET_CAR_CRUISE_SPEED mm_car7 100.0
SET_CAR_TEMP_ACTION mm_car7 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car8
SET_CAR_RAM_CAR mm_car7 mm_car8
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car8
SET_CAR_CRUISE_SPEED mm_car8 100.0
SET_CAR_TEMP_ACTION mm_car8 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car9
SET_CAR_RAM_CAR mm_car8 mm_car9
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car9
SET_CAR_CRUISE_SPEED mm_car9 100.0
SET_CAR_TEMP_ACTION mm_car9 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car10
SET_CAR_RAM_CAR mm_car9 mm_car10
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car10
SET_CAR_CRUISE_SPEED mm_car10 100.0
SET_CAR_TEMP_ACTION mm_car10 TEMPACT_GOFORWARD 5000
ENDIF
IF NOT IS_CAR_DEAD mm_car11
SET_CAR_CRUISE_SPEED mm_car11 100.0
SET_CAR_TEMP_ACTION mm_car11 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car12
SET_CAR_RAM_CAR mm_car11 mm_car12
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car12
SET_CAR_CRUISE_SPEED mm_car12 100.0
SET_CAR_TEMP_ACTION mm_car12 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car13
SET_CAR_RAM_CAR mm_car12 mm_car13
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car13
SET_CAR_CRUISE_SPEED mm_car13 100.0
SET_CAR_TEMP_ACTION mm_car13 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car14
SET_CAR_RAM_CAR mm_car13 mm_car14
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car14
SET_CAR_CRUISE_SPEED mm_car14 100.0
SET_CAR_TEMP_ACTION mm_car14 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car15
SET_CAR_RAM_CAR mm_car14 mm_car15
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car15
SET_CAR_CRUISE_SPEED mm_car15 100.0
SET_CAR_TEMP_ACTION mm_car15 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car16
SET_CAR_RAM_CAR mm_car15 mm_car16
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car16
SET_CAR_CRUISE_SPEED mm_car16 100.0
SET_CAR_TEMP_ACTION mm_car16 TEMPACT_GOFORWARD 5000
IF NOT IS_CAR_DEAD mm_car1
SET_CAR_RAM_CAR mm_car16 mm_car1
ENDIF
ENDIF
DISPLAY_ONSCREEN_TIMER mm_countdown TIMER_DOWN
//DISPLAY_NTH_ONSCREEN_COUNTER_WITH_STRING time_to_beat/*mm_cars_killed*/ COUNTER_DISPLAY_NUMBER 2 ( BLOD_08 )
DISPLAY_NTH_ONSCREEN_COUNTER_WITH_STRING mm_car_health_divided COUNTER_DISPLAY_BAR 1 ( BLOD_04 )
GENERATE_RANDOM_FLOAT_IN_RANGE -1530.0 -1384.0 rnd_float1x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 923.0 rnd_float1y
GENERATE_RANDOM_FLOAT_IN_RANGE -1530.0 -1384.0 rnd_float2x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 1056.0 rnd_float2y
GENERATE_RANDOM_FLOAT_IN_RANGE -1265.0 -1384.0 rnd_float3x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 923.0 rnd_float3y
GENERATE_RANDOM_FLOAT_IN_RANGE -1265.0 -1384.0 rnd_float4x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 1056.0 rnd_float4y
GOSUB cunty_hoarz
//starting the fight
TimerA = 0
TIMERB = 0
WHILE mm_countdown > 0
WAIT 0
IF mm_attempt = 0
PRINT_WITH_NUMBER ( BLOD_05 ) mm_best_time time_to_beat 1 //Target Time
ELSE
PRINT_WITH_NUMBER ( BLOD_06 ) mm_best_time time_to_beat 1 //Target Time
ENDIF
//player winning
IF mm_countdown > time_to_beat
GOTO mission_passed_mm
ENDIF
//playing sound
IF mm_sound_playing = 1
GOSUB mm_sound
ENDIF
DRAW_CORONA plyr_rndx plyr_rndy plyr_rndz 5.0 CORONATYPE_CIRCLE FLARETYPE_NONE 150 150 0
IF LOCATE_PLAYER_ANY_MEANS_3D player1 plyr_rndx plyr_rndy plyr_rndz 7.0 7.0 7.0 FALSE
IF NOT IS_CAR_DEAD mmplayer_car
GET_CAR_HEALTH mmplayer_car mm_adding_health
IF mm_adding_health < 1234
mm_adding_health += 15
SET_CAR_HEALTH mmplayer_car mm_adding_health
ELSE
mm_adding_health = 1249
SET_CAR_HEALTH mmplayer_car mm_adding_health
ENDIF
ENDIF
mm_countdown += 15000 //15 secs extra
ADD_ONE_OFF_SOUND 0.0 0.0 0.0 SOUND_PART_MISSION_COMPLETE
GOSUB cunty_hoarz
ENDIF
IF NOT IS_CAR_DEAD mm_car3
IF LOCATE_CAR_3D mm_car3 plyr_rndx plyr_rndy plyr_rndz 7.0 7.0 7.0 FALSE
GOSUB cunty_hoarz
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car10
IF LOCATE_CAR_3D mm_car10 plyr_rndx plyr_rndy plyr_rndz 7.0 7.0 7.0 FALSE
GOSUB cunty_hoarz
ENDIF
ENDIF
//making sure counter cant be 0
IF mm_cars_killed < 0
mm_cars_killed = 0
ENDIF
////checking car health for counter and making car right way up
IF NOT IS_CAR_DEAD mmplayer_car
GET_CAR_HEALTH mmplayer_car mm_car_health
mm_car_health -= 249
IF mm_car_health < 0
mm_car_health = 0
ENDIF
mm_car_health_divided = mm_car_health / 10
IF mm_car_health_divided < 0
mm_car_health_divided = 0
ENDIF
IF IS_CAR_UPSIDEDOWN mmplayer_car
IF IS_CAR_STOPPED mmplayer_car
GET_CAR_COORDINATES mmplayer_car player_x player_y player_z
GET_CAR_HEADING mmplayer_car mm_car_heading
SET_CAR_COORDINATES mmplayer_car player_x player_y player_z
SET_CAR_HEADING mmplayer_car mm_car_heading
ENDIF
ENDIF
ENDIF
//waiting for cars to finish initial forward burst
IF timerb > 5000
IF letting_cars_do_stuff = 0
IF NOT IS_CAR_DEAD mm_car3
CAR_GOTO_COORDINATES_ACCURATE mm_car3 plyr_rndx plyr_rndy -100.0
ENDIF
IF NOT IS_CAR_DEAD mm_car10
CAR_GOTO_COORDINATES_ACCURATE mm_car10 plyr_rndx plyr_rndy -100.0
ENDIF
letting_cars_do_stuff = 1
ENDIF
//top left of bloodring
IF zero_where_player = 1
IF NOT IS_CAR_DEAD mm_car1
//IF NOT IS_CAR_DEAD mm_car2
// SET_CAR_RAM_CAR mm_car2 mm_car1
//ENDIF
IF NOT IS_CAR_DEAD mm_car3
CAR_GOTO_COORDINATES_ACCURATE mm_car3 plyr_rndx plyr_rndy -100.0
ENDIF
IF NOT IS_CAR_DEAD mm_car4
SET_CAR_RAM_CAR mm_car4 mm_car1
ENDIF
ENDIF
zero_where_player = 5
ENDIF
IF where_is_player = 0
IF zero_where_player = 5
IF NOT IS_CAR_DEAD mm_car1
GENERATE_RANDOM_FLOAT_IN_RANGE -1530.0 -1384.0 rnd_float1x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 923.0 rnd_float1y
CAR_GOTO_COORDINATES_ACCURATE mm_car1 rnd_float1x rnd_float1y -100.0
ENDIF
ENDIF
ENDIF
IF zero_where_player = 11
IF NOT IS_CAR_DEAD mm_car1
SET_CAR_MISSION mm_car1 MISSION_RAMPLAYER_FARAWAY
ENDIF
//IF NOT IS_CAR_DEAD mm_car2
// SET_CAR_MISSION mm_car2 MISSION_RAMPLAYER_FARAWAY
//ENDIF
//IF NOT IS_CAR_DEAD mm_car3
// SET_CAR_MISSION mm_car3 MISSION_RAMPLAYER_FARAWAY
//ENDIF
IF NOT IS_CAR_DEAD mm_car4
SET_CAR_MISSION mm_car4 MISSION_RAMPLAYER_FARAWAY
ENDIF
zero_where_player = 6
ENDIF
//top right of bloodring
IF zero_where_player = 2
IF NOT IS_CAR_DEAD mm_car5
//IF NOT IS_CAR_DEAD mm_car6
// SET_CAR_RAM_CAR mm_car6 mm_car5
//ENDIF
IF NOT IS_CAR_DEAD mm_car7
SET_CAR_RAM_CAR mm_car7 mm_car5
ENDIF
IF NOT IS_CAR_DEAD mm_car8
SET_CAR_RAM_CAR mm_car8 mm_car5
ENDIF
ENDIF
zero_where_player = 5
ENDIF
IF where_is_player = 0
IF zero_where_player = 5
IF NOT IS_CAR_DEAD mm_car5
GENERATE_RANDOM_FLOAT_IN_RANGE -1530.0 -1384.0 rnd_float2x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 1056.0 rnd_float2y
CAR_GOTO_COORDINATES_ACCURATE mm_car5 rnd_float2x rnd_float2y -100.0
ENDIF
ENDIF
ENDIF
IF zero_where_player = 12
IF NOT IS_CAR_DEAD mm_car5
SET_CAR_MISSION mm_car5 MISSION_RAMPLAYER_FARAWAY
ENDIF
//IF NOT IS_CAR_DEAD mm_car6
// SET_CAR_MISSION mm_car6 MISSION_RAMPLAYER_FARAWAY
//ENDIF
IF NOT IS_CAR_DEAD mm_car7
SET_CAR_MISSION mm_car7 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car8
SET_CAR_MISSION mm_car8 MISSION_RAMPLAYER_FARAWAY
ENDIF
zero_where_player = 6
ENDIF
//Bottom Left of bloodring
IF zero_where_player = 3
IF NOT IS_CAR_DEAD mm_car9
IF NOT IS_CAR_DEAD mm_car10
CAR_GOTO_COORDINATES_ACCURATE mm_car10 plyr_rndx plyr_rndy -100.0
ENDIF
IF NOT IS_CAR_DEAD mm_car11
SET_CAR_RAM_CAR mm_car11 mm_car9
ENDIF
IF NOT IS_CAR_DEAD mm_car12
SET_CAR_RAM_CAR mm_car12 mm_car9
ENDIF
ENDIF
zero_where_player = 5
ENDIF
IF where_is_player = 0
IF zero_where_player = 5
IF NOT IS_CAR_DEAD mm_car9
GENERATE_RANDOM_FLOAT_IN_RANGE -1265.0 -1384.0 rnd_float3x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 923.0 rnd_float3y
CAR_GOTO_COORDINATES_ACCURATE mm_car9 rnd_float3x rnd_float3y -100.0
ENDIF
ENDIF
ENDIF
IF zero_where_player = 13
IF NOT IS_CAR_DEAD mm_car9
SET_CAR_MISSION mm_car9 MISSION_RAMPLAYER_FARAWAY
ENDIF
//IF NOT IS_CAR_DEAD mm_car10
// SET_CAR_MISSION mm_car10 MISSION_RAMPLAYER_FARAWAY
//ENDIF
IF NOT IS_CAR_DEAD mm_car11
SET_CAR_MISSION mm_car11 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car12
SET_CAR_MISSION mm_car12 MISSION_RAMPLAYER_FARAWAY
ENDIF
zero_where_player = 6
ENDIF
//Bottom Right of bloodring
IF zero_where_player = 4
IF NOT IS_CAR_DEAD mm_car13
IF NOT IS_CAR_DEAD mm_car14
SET_CAR_RAM_CAR mm_car14 mm_car13
ENDIF
IF NOT IS_CAR_DEAD mm_car15
SET_CAR_RAM_CAR mm_car15 mm_car13
ENDIF
IF NOT IS_CAR_DEAD mm_car16
SET_CAR_RAM_CAR mm_car16 mm_car13
ENDIF
ENDIF
zero_where_player = 5
ENDIF
IF where_is_player = 0
IF zero_where_player = 5
IF NOT IS_CAR_DEAD mm_car13
GENERATE_RANDOM_FLOAT_IN_RANGE -1265.0 -1384.0 rnd_float4x
GENERATE_RANDOM_FLOAT_IN_RANGE 995.0 1056.0 rnd_float4y
CAR_GOTO_COORDINATES_ACCURATE mm_car13 rnd_float4x rnd_float4y -100.0
ENDIF
ENDIF
where_is_player = 1
ENDIF
IF zero_where_player = 14
IF NOT IS_CAR_DEAD mm_car13
SET_CAR_MISSION mm_car13 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car14
SET_CAR_MISSION mm_car14 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car15
SET_CAR_MISSION mm_car15 MISSION_RAMPLAYER_FARAWAY
ENDIF
IF NOT IS_CAR_DEAD mm_car16
SET_CAR_MISSION mm_car16 MISSION_RAMPLAYER_FARAWAY
ENDIF
zero_where_player = 6
ENDIF
//checking on cars
IF NOT IS_CAR_DEAD mm_car1
//IF IS_CAR_STOPPED mm_car1
IF IS_CAR_UPSIDEDOWN mm_car1
//IF NOT IS_CAR_ON_SCREEN mm_car1
IF NOT LOCATE_PLAYER_ANY_MEANS_CAR_2D player1 mm_car1 7.0 7.0 FALSE
GET_CAR_COORDINATES mm_car1 player_x player_y player_z
SET_CAR_COORDINATES mm_car1 player_x player_y player_z
ENDIF
//ENDIF
ENDIF
//ENDIF
IF IS_CAR_STUCK mm_car1
SET_CAR_TEMP_ACTION mm_car1 TEMPACT_REVERSE 3000
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car2
//IF IS_CAR_STOPPED mm_car2
IF IS_CAR_UPSIDEDOWN mm_car2
//IF NOT IS_CAR_ON_SCREEN mm_car2
IF NOT LOCATE_PLAYER_ANY_MEANS_CAR_2D player1 mm_car2 7.0 7.0 FALSE
GET_CAR_COORDINATES mm_car2 player_x player_y player_z
SET_CAR_COORDINATES mm_car2 player_x player_y player_z
ENDIF
//ENDIF
ENDIF
//ENDIF
IF IS_CAR_STUCK mm_car2
SET_CAR_TEMP_ACTION mm_car2 TEMPACT_REVERSE 3000
ENDIF
ENDIF
IF NOT IS_CAR_DEAD mm_car3
//IF IS_CAR_STOPPED mm_car3
IF IS_CAR_UPSIDEDOWN mm_car3
//IF NOT IS_CAR_ON_SCREEN mm_car3
IF NOT LOCATE_PLAYER_ANY_MEANS_CAR_2D player1 mm_car3 7.0 7.0 FALSE
GET_CAR_COORDINATES mm_car3 player_x player_y player_z
SET_CAR_COORDINATES mm_car3 player_x player_y player_z
ENDIF
//ENDIF