-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.sc
7703 lines (6176 loc) · 243 KB
/
main.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
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
// ****************************************PC SA Main Script********************************
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
SCRIPT_NAME MAIN //NEW MAIN
// ***************************************SETUP*********************************************
// *****************************************************************************************
DO_FADE 0 FADE_OUT
SET_TOTAL_NUMBER_OF_MISSIONS 0
SET_PROGRESS_TOTAL 0
SET_MISSION_RESPECT_TOTAL 0
SET_MAX_WANTED_LEVEL 6
SET_DEATHARREST_STATE OFF
SET_TIME_OF_DAY 08 00
// *****************************************CREATE PLAYER***********************************
VAR_INT player1 scplayer
REQUEST_COLLISION 2488.5623 -1666.8645
LOAD_SCENE 2488.5623 -1666.8645 13.3757 //LA
//LOAD_SCENE 2369.60 -1265.10 23.88
//CREATE_PLAYER 0 1500.02 -1656.27 14.10 player1 //LA Downtown square
//CREATE_PLAYER 0 -2030.9 161.5 27.8 player1 //SF
//CREATE_PLAYER 0 2198.7 1679.2 10.4 player1 //Vegas
// *****************************************SET UP STATS************************************
SET_FLOAT_STAT ENERGY 800.0
SET_FLOAT_STAT BODY_MUSCLE 50.0
SET_FLOAT_STAT FAT 200.0
SET_FLOAT_STAT DRIVING_SKILL 0.0
SET_INT_STAT CITIES_PASSED 0
SET_INT_STAT RESPECT 0
CREATE_PLAYER 0 2488.5623 -1666.8645 12.8757 player1 //LA hub
GOTO skip_create_player2
CREATE_PLAYER 1 2488.5623 -1666.8645 12.8757 player2
skip_create_player2:
DISPLAY_TIMER_BARS FALSE
//LA Gym
VAR_FLOAT statbikestamina_ctr
VAR_FLOAT statbikelowmuscle_ctr
VAR_FLOAT statbike_temp
VAR_FLOAT stattreadstamina_ctr
VAR_FLOAT stattreadlowmuscle_ctr
VAR_FLOAT stattread_temp
// ***************************************SET UP GANG THREATS*******************************
//VAR_INT grove_threatlist //grove gang (players gang in la1)
//VAR_INT flat_threatlist //flat gang
//VAR_INT nmex_threatlist //northside mex
//VAR_INT smex_threatlist //southside mex
//VAR_INT grove_decisions grove_group_decisions
//VAR_INT flat_decisions
//VAR_INT smex_decisions
//VAR_INT nmex_decisions
VAR_INT gf_game_timer Players_Group
//grove (player's gang for LA1 then enemy)
//GROVE STREET
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_LIKE PEDTYPE_GANG_GROVE PEDTYPE_PLAYER1
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_GROVE PEDTYPE_GANG_FLAT
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_GROVE PEDTYPE_GANG_NMEX
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_GROVE PEDTYPE_GANG_SMEX
//FLATS
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_FLAT PEDTYPE_PLAYER1
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_FLAT PEDTYPE_GANG_GROVE
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_FLAT PEDTYPE_GANG_NMEX
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_FLAT PEDTYPE_GANG_SMEX
//NORTH MEXICANS
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_NMEX PEDTYPE_PLAYER1
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_NMEX PEDTYPE_GANG_GROVE
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_NMEX PEDTYPE_GANG_FLAT
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_NMEX PEDTYPE_GANG_SMEX
//SOUTH MEXICANS
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_SMEX PEDTYPE_PLAYER1
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_SMEX PEDTYPE_GANG_GROVE
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_SMEX PEDTYPE_GANG_FLAT
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_SMEX PEDTYPE_GANG_NMEX
//SAN FRAN
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_SFMEX PEDTYPE_GANG_VIET
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_SFMEX PEDTYPE_GANG_TRIAD
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_VIET PEDTYPE_GANG_SFMEX
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_DISLIKE PEDTYPE_GANG_TRIAD PEDTYPE_GANG_SFMEX
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_TRIAD PEDTYPE_GANG_VIET
SET_RELATIONSHIP ACQUAINTANCE_TYPE_PED_HATE PEDTYPE_GANG_VIET PEDTYPE_GANG_TRIAD
GET_PLAYER_GROUP Player1 Players_Group
//SET_GROUP_SEPARATION_RANGE Players_Group 30.0
// *****************************************************************************************
GET_PLAYER_CHAR player1 scplayer
SET_CAMERA_BEHIND_PLAYER
SET_CHAR_HEADING scplayer 262.0
//ADD_SCORE Player1 350 //TEST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
LOAD_AND_LAUNCH_MISSION initial.sc
wait 0
LOAD_AND_LAUNCH_MISSION initial2.sc
// *************************************CONSTANTS*******************************************
//--- GF CONSTANTS
CONST_INT COOCHIE 0
CONST_INT MICHELLE 1
CONST_INT KYLIE 2
CONST_INT BARBARA 3
CONST_INT SUZIE 4
CONST_INT MILLIE 5
CONST_INT COOCHIE_NOT_AT_HOME 10
CONST_INT MICHELLE_NOT_AT_HOME 11
CONST_INT KYLIE_NOT_AT_HOME 12
CONST_INT BARBARA_NOT_AT_HOME 13
CONST_INT SUZIE_NOT_AT_HOME 14
CONST_INT MILLIE_NOT_AT_HOME 15
CONST_INT MICHELLE_BONUS_ACTIVE 21
CONST_INT KYLIE_BONUS_ACTIVE 22
CONST_INT BARBARA_BONUS_ACTIVE 23
CONST_INT SUZIE_BONUS_ACTIVE 24
CONST_INT GF_CHEAT_MODE_ON 31
//--- DATE REPORT CONSTS
CONST_INT DATE_IN_PROGRESS 1
CONST_INT DATE_WAS_SUCCESS 2
CONST_INT PLAYER_AGREES_TO_SEX 3
CONST_INT SEX_WAS_GOOD 4
CONST_INT SEX_IN_PROGRESS 5
CONST_INT GIRL_IS_BACK_AT_HOME 6
CONST_INT EAT_OUT 11
CONST_INT DRIVE 12
CONST_INT DANCE 13
CONST_INT KINKY_SEX 14
CONST_INT GIRL_DRIVE 15
CONST_INT MEETING_IN_PROGRESS 20
CONST_INT MEET_TOMORROW 21
CONST_INT FASTDATE_ON 26
CONST_INT CHEAT_EAT_OUT 27
CONST_INT CHEAT_DRIVE 28
CONST_INT CHEAT_DANCE 29
CONST_INT CHEAT_KINKY_SEX 30
CONST_INT CHEAT_GIRL_DRIVE 31
//--- AGENT CONSTS
CONST_INT APPOINTMENT_ON_FOR_COOCHIE 0
CONST_INT APPOINTMENT_ON_FOR_MICHELLE 1
CONST_INT APPOINTMENT_ON_FOR_KYLIE 2
CONST_INT APPOINTMENT_ON_FOR_BARBARA 3
CONST_INT APPOINTMENT_ON_FOR_SZUIE 4
CONST_INT APPOINTMENT_ON_FOR_MILLIE 5
CONST_INT MOBILE_CALL_ANSWERED 10
CONST_INT MOBILE_CALL_SCRIPT_RUNNING 11
CONST_INT MOBILE_INACTIVE 20
CONST_INT TIME_FOR_CALL 21
CONST_INT TIME_FOR_ANSWER 22
CONST_INT TIME_FOR_DATE 23
CONST_INT MOBILE_DUMPED 24
CONST_INT KEEP_THIS_IDX 25
CONST_INT MISSION_CLEANUP_DONE 31
//--- LIKES ON DATE CONSTS
// FOOD & DRINK
CONST_INT LIKES_JUNK_FOOD 1
CONST_INT LIKES_DINERS 2
CONST_INT LIKES_BARS 3
CONST_INT LIKES_DONUTS 4
CONST_INT LIKES_SWANK_PLACES 5
// DRIVING
CONST_INT LIKES_STUNTS 11
CONST_INT LIKES_TO_GO_FAST 12
CONST_INT LIKES_TO_CRUISE 13
CONST_INT LIKES_PARKING_ROMANTIC 14
CONST_INT LIKES_RICH_ZONES 15
CONST_INT LIKES_GANG_ZONES 16
CONST_INT LIKES_PARK_BEACH_ZONES 17
CONST_INT LIKES_DESERT_COUNTRY_ZONES 18
CONST_INT LIKES_SHOPPING_ZONES 19
CONST_INT LIKES_ENTERTAINMENT_ZONES 20
// UNIQUE
CONST_INT LIKES_GANG_FIGHTS 21
CONST_INT LIKES_TO_DRIVE 22
CONST_INT LIKES_KINKY_SEX 23
CONST_INT LIKES_TO_CAUSE_ACCIDENTS_KILL_PEDS 24
// MISC.
CONST_INT SINGS_ALONG_RADIO 26
CONST_INT LIKES_SNOGGING_IN_PUBLIC 27
CONST_INT LIKES_SEX_IN_PUBLIC 28
CONST_INT LIKES_TO_BE_HIT_BY_PLAYER 29
CONST_INT LIKES_FLYING 30
CONST_INT LIKES_BOATING 31
//--- LIKES PLAYER TRAITS CONSTS
// PHYSIQUE
CONST_INT FIT 1
CONST_INT OBESE 2
CONST_INT NORMAL 3
// CAR
CONST_INT CAR_NORMAL_POORFAMILY 11
CONST_INT CAR_EXECUTIVE_RICHFAMILY 12
CONST_INT CAR_UNIQUE_CAR 13
CONST_INT CAR_MOD_CAR 14
CONST_INT CAR_MOTORBIKE 15
CONST_INT CAR_COPCAR 16
CONST_INT CAR_AMBULANCE 17
CONST_INT CAR_CABBIE_TAXI 18
//--- DIARY OF BUSY HOURS
CONST_INT H_MIDNIGHT 0
CONST_INT H_2AM 2
CONST_INT H_4AM 4
CONST_INT H_6AM 6
CONST_INT H_8AM 8
CONST_INT H_10AM 10
CONST_INT H_NOON 12
CONST_INT H_2PM 14
CONST_INT H_4PM 16
CONST_INT H_6PM 18
CONST_INT H_8PM 20
CONST_INT H_10PM 22
CONST_INT D_SUN 23
CONST_INT D_MON 24
CONST_INT D_TUE 25
CONST_INT D_WED 26
CONST_INT D_THU 27
CONST_INT D_FRI 28
CONST_INT D_SAT 29
CONST_INT NEXT_FREE_DAY 31
//--- MOBILE PHONE PARAMETERS
CONST_INT CALL_DATE 1
CONST_INT CALL_DUMP 2
//--- MISSION SPECIFIC GF CONSTS
CONST_INT MILLIE_LIKES_PLAYER_REQUIRED_FOR_KEYCARD 35
// For wager UIs.
CONST_INT WAGER_WHITE 0
CONST_INT WAGER_GREEN 1
CONST_INT WAGER_BLUE 2
// *************************************VARIABLES*******************************************
//GENERAL
VAR_INT button_pressed controlmode mission_trigger_wait_time flag_cell_nation game_timer
VAR_INT LStickX LStickY RStickX RStickY been_in_a_bmx tucking_contact_blip launch_shit_for_debug_build
VAR_INT game_starts_from_scratch Return_cities_passed flag_dont_start_shooting_range
VAR_INT tag_percentage cj_vomits_for_menace trigger_phonecall_failed
VAR_INT recording emmets_shop_blip emmets_gun swim_stamina_check_main
VAR_INT hours minutes LA_hub_activity keycard_aquired_from_millie player_is_completely_safe player_is_completely_safe_for_mobile
VAR_INT weekday activate_mobile_phone played_scipted_airscript_cut
VAR_INT main_visible_area trigger_final_synd_mission
VAR_INT model_index trigger_scrash2_mission returned_respect
VAR_INT car car_class oddjob_help_flag girlfried_help_flag stealth_help_flag
VAR_INT f1_which_missions_are_open_flag voice_over_at_hub airstrip_contact_blip
VAR_INT stop_gargae_for_neil trigger_final_LA1_missions trigger_final_LA2_missions trigger_ice_cold_mission
VAR_INT intro_bmx intro_bmx_blip trucking_help_flag R3_player_car
VAR_INT cat_counter funeral_mission_finished showroom_contact_blip
VAR_INT add_all_ammu_blips
VAR_FLOAT distance player_x player_y player_z
VAR_FLOAT heading
VAR_FLOAT x y z
VAR_FLOAT on_footX on_footY on_footZ
VAR_FLOAT in_carX in_carY in_carZ
//HELP MESSAGE VARS
VAR_INT bike_help drive_by_help
VAR_INT print_first_help car_help_played
VAR_INT driving_test_passed pilot_test_passed
//ODDJOB VARS
VAR_INT flag_menace_buyfood courier_timer
VAR_INT flag_kickstart_passed_1stime
VAR_INT f1_the90_best_score f1_spinrightgo_best_score f1_spinleftgo_best_score f1_burnlapright_best_score f1_burnlapleft_best_score
VAR_INT f1_popcontrol_best_score f1_cityslicking_best_score f1_whiprightterminate_best_score f1_whipleftterminate_best_score f1_alleyoop_best_score
VAR_INT f1_wheelieweave_best_score f1_pittechnique_best_score f1_conecoilright_best_score f1_conecoilleft_best_score
VAR_INT f1_the180_best_score camera_secret_help
VAR_INT f1_the360_best_score
VAR_FLOAT one_sixteenth one_thirtysecond one_sixtyfourth //stuck_x stuck_y stuck_z
VAR_FLOAT coord_1_x coord_1_y coord_1_z coord_2_x coord_2_y coord_c1_x coord_c1_y coord_c1_z
VAR_INT wasted_help wanted_star_help // flag names
VAR_INT show_race_selection gym_contact_blip
VAR_INT stat_read_skill_temp chat_help1 chat_help1_flag
show_race_selection = FALSE
VAR_INT busted_help
CREATE_PICKUP INFO PICKUP_ONCE 2027.77 -1420.52 16.49 wasted_help1
CREATE_PICKUP INFO PICKUP_ONCE 1180.85 -1325.57 13.08 wasted_help2
CREATE_PICKUP INFO PICKUP_ONCE 1550.68 -1675.49 15.01 busted_help1
CREATE_PICKUP INFO PICKUP_ONCE 2431.17 -1668.75 13.04 chat_help1
// *************************************LOCATE BLOB VARIABLE STUFF****************************
VAR_INT blob_flag blob_flag_shop
// zero = false no blob displayed
// one = true blob is displayed
// before the loop set this flag tSo the way you want it displayed or nothing will happen
// *****************************************SPECIAL CHARACTERS********************************
// Cutscene stuff
VAR_INT cs_time // timer for cutscenes
VAR_INT big_smoke
VAR_INT sweet
VAR_INT ryder
VAR_INT cesar
VAR_INT mc_strap
VAR_INT big_smoke_car
VAR_INT sweet_car
VAR_INT ryder_car
VAR_FLOAT sweet_carX sweet_carY sweet_carZ sweet_carH
VAR_FLOAT ryder_carX ryder_carY ryder_carZ ryder_carH
VAR_INT truth
VAR_INT catalina
// ODD JOB VARIABLES**************************************************************************
VAR_INT flag_player_on_ambulance_mission // Ambulance Missions
VAR_INT flag_player_on_fire_mission // Fire Truck Missions
VAR_INT got_siren_help_before finaleB_played_first_time_round
VAR_INT flag_bmx_trigger flag_nrg500_trigger
VAR_INT current_Language
VAR_INT player2 p2 gym_at_beach
VAR_INT flag_hhiker_trigger flag_pimping_trigger
VAR_INT been_in_freight_before flag_player_on_freight_mission flag_player_on_pimp_mission// Freight Missions
VAR_INT ft_train_level race_debug
VAR_INT flag_player_on_burglary_mission // burglary mission
VAR_FLOAT LA_ShootX LA_ShootY LA_ShootZ
LA_ShootX = 292.33
LA_ShootY = -35.39
LA_ShootZ = 1000.50
race_debug = 0
// 4x4/carpark Missions
VAR_INT flag_player_on_menace_mission
VAR_INT opened_badlands_up opened_sanfran_up opened_vegas_up opened_desert_up opened_la2_up
VAR_INT flag_mtbike_trigger
// Kickstart
VAR_INT flag_kickstart_mission1_passed
// BMX variables
VAR_FLOAT bmx_1_x bmx_1_y bmx_1_z
// Taxi mission
VAR_INT taxi_passed, R3_mission_help, flag_taxiodd_mission_launched
VAR_INT done_taxi_help
//MOBILE PHONE
VAR_INT timer_mobile_start timer_mobile_now timer_mobile_diff
//RC HELI MISSION
VAR_INT stat_stamina_temp
//Courier
VAR_INT flag_courier_mission_passed
VAR_INT flag_courier_trigger
//Airrace
VAR_INT flag_airrace_mission_passed
//COASTGUARD MISSION
VAR_INT been_in_a_coastguard_before
// coastguard
VAR_INT flag_player_on_coastguard_mission
//coke cash courier
VAR_INT courier_type
// Cash Courier
courier_type = 1
// Coke Courier
courier_type = 2
// lowrider minigame
VAR_INT lowrider_mission_flag
VAR_INT lowrider_minigame_unlocked
lowrider_mission_flag = 0
lowrider_minigame_unlocked = 0 // gets unlocked after sweet 6
// *******************************************school variables*****************************************************
//people
VAR_INT dummy_car1 dummy_car2
VAR_INT instructor_car croupier_help
VAR_INT trafficcone_counter trafficcones[46]
//flags
VAR_INT mission_selection swimming_help
VAR_INT car_started
VAR_FLOAT instructor_car_speed instructor_car_heading
VAR_INT instructor_car_heading_int
VAR_INT car_timer lap_counter
VAR_FLOAT perfect_positionx perfect_positiony perfect_positionz perfect_heading players_distance_from_perfectpos
VAR_INT instructor_car_health dummy_car1_health dummy_car2_health total_instructor_car_health total_dummy_car1_health total_dummy_car2_health
VAR_INT heading_score position_score player_car_damage other_car_damage time_score overall_score total_car_damage
VAR_INT variablea variablec variabled
VAR_FLOAT variableb
VAR_FLOAT car_posx car_posy
VAR_FLOAT where_to_place_cones circle_start_x circle_start_y cone_coords_x cone_coords_y cone_coords_z cone_circle_radius
VAR_INT lap1_secs lap1_millisecs overall_lap1 lap2_secs lap2_millisecs overall_lap2 lap3_secs lap3_millisecs overall_lap3
VAR_INT lap4_secs lap4_millisecs overall_lap4 lap5_secs lap5_millisecs overall_lap5 overall_secs overall_millisecs
VAR_FLOAT finish_leftx finish_lefty finish_rightx finish_righty
VAR_FLOAT start_coordsx start_coordsy
VAR_FLOAT area_check1ax area_check1ay area_check1bx area_check1by area_check2ax area_check2ay area_check2bx area_check2by
VAR_FLOAT area_check3ax area_check3ay area_check3bx area_check3by area_check4ax area_check4ay area_check4bx area_check4by
VAR_INT instructor_car_dead_flag finished_watching_scores
VAR_FLOAT noticeboard_x noticeboard_y noticeboard_z
VAR_FLOAT camera_positionx camera_positiony camera_positionz
VAR_INT camera_position_int
// *******************************************RACES variables******************************************************
// AIR RACE VARIABLES
VAR_INT race1_best_position_airrace
VAR_INT race1_best_time_airrace
VAR_INT race2_best_position_airrace
VAR_INT race2_best_time_airrace
VAR_INT race3_best_position_airrace
VAR_INT race3_best_time_airrace
VAR_INT race4_best_position_airrace
VAR_INT race4_best_time_airrace
VAR_INT race5_best_position_airrace
VAR_INT race5_best_time_airrace
VAR_INT race6_best_position_airrace
VAR_INT race6_best_time_airrace
VAR_INT done_race1_progress_airrace done_race2_progress_airrace done_race3_progress_airrace
VAR_INT done_race4_progress_airrace done_race5_progress_airrace done_race6_progress_airrace
VAR_INT race_selection
race_selection = 0
// *******************************************GIRLS variables******************************************************
VAR_INT iGFSelfRespect[6] iGFLikesPlayer[6] iGFDesiredSexAppeal[6] iGFLikesPlayerTraits[6] // GF STATS
VAR_INT iGFLikesOnDate[6] iGFDiaryOfBusyHours[6] // MORE GF STATS
VAR_INT iGFidx //GF index for the arrays above, obviously no greater than 5
VAR_INT iDateReport iAgentFlags iPhoneState iCaller
VAR_INT iGFBonusPickupID[4] iGFHomeBlips[6]
VAR_TEXT_LABEL txtCurrZone // Zone string used a bit everywhere
VAR_INT iActiveGF // Public Bitfield to record active GFs.
//STATS*****************************************************************************************
VAR_FLOAT fatstat_gym
//BEACH
//CREATE_PICKUP bribe PICKUP_ON_STREET_SLOW 393.9 -60.2 11.5 beach_bribe1 //Not far from Construction Site behind some houses
// ***************************************MISSION VARS**********************************************
// Global variables for missions
DECLARE_MISSION_FLAG flag_player_on_mission
VAR_INT mod_garage1
VAR_INT flag_player_on_mission spray_help
VAR_INT flag_player_on_oddjob
VAR_INT total_saved_peds
VAR_INT weapon_shop1_blip
VAR_INT mod_garage_blip
VAR_INT wuzi
VAR_INT task_status
VAR_INT bcesar2_mission_flag
VAR_INT bcesar3_mission_flag
VAR_FLOAT chickX chickY chickZ
VAR_FLOAT shooter1X shooter1Y shooter1Z
VAR_FLOAT gravX gravY gravZ
VAR_FLOAT wheeloX wheeloY wheeloZ
VAR_FLOAT spaceX spaceY spaceZ
// LA1*************************************************
VAR_INT smoke_contact_blip sweet_contact_blip ryder_contact_blip strap_contact_blip
VAR_INT crash_contact_blip intro_contact_blip cesar_contact_blip
VAR_INT intro_blip_icon sweet_blip_icon ryder_blip_icon
VAR_INT crash_blip_icon smoke_blip_icon strap_blip_icon cesar_blip_icon
VAR_INT flag_intro_mission_counter spray_shop1 spray_shop2 spray_shop4
VAR_INT flag_sweet_mission_counter
VAR_INT flag_ryder_mission_counter
VAR_INT flag_smoke_mission_counter
VAR_INT flag_strap_mission_counter
VAR_INT flag_crash_mission_counter
VAR_INT flag_cesar_mission_counter
VAR_INT flag_la1fin1_mission_counter
VAR_FLOAT introX introY introZ
VAR_FLOAT sweetX sweetY sweetZ
VAR_FLOAT ryderX ryderY ryderZ
VAR_FLOAT smokeX smokeY smokeZ
VAR_FLOAT strapX strapY strapZ
VAR_FLOAT strap2X strap2Y strap2Z
VAR_FLOAT crashX crashY crashZ
VAR_FLOAT cesarX cesarY cesarZ
//BADLANDS*********************************************
VAR_INT cat_contact_blip bcrash_contact_blip bcesar_contact_blip truth_contact_blip
VAR_INT cat_blip_icon truth_blip_icon
VAR_INT flag_cat_mission_counter flag_catcutscene_counter
VAR_INT flag_truth_mission_counter
VAR_INT flag_bcesar_mission_counter
VAR_INT flag_bcrash_mission_counter
VAR_FLOAT bcrashX bcrashY bcrashZ
VAR_FLOAT truthX truthY truthZ
VAR_FLOAT truth2X truth2Y truth2Z
VAR_FLOAT bcesarX bcesarY bcesarZ
VAR_FLOAT catX[6] catY[6] catZ[6]
//SAN FRAN*********************************************
VAR_INT wuzi_contact_blip steal_contact_blip synd_contact_blip
VAR_INT zero_contact_blip trace_contact_blip[4] scrash_contact_blip garage_contact_blip
VAR_INT wuzi_blip_icon synd_blip_icon steal_blip_icon garage_blip_icon
VAR_INT trace_blip_icon zero_blip_icon trace_contact_blip2
VAR_INT flag_garage_mission_counter
VAR_INT flag_zero_mission_counter
VAR_INT flag_wuzi_mission_counter
VAR_INT flag_steal_mission_counter
VAR_INT flag_synd_mission_counter
VAR_INT flag_scrash_mission_counter
VAR_FLOAT garageX garageY garageZ
VAR_FLOAT zeroX zeroY zeroZ
VAR_FLOAT wuziX wuziY wuziZ
VAR_FLOAT stealX stealY stealZ
VAR_FLOAT syndX syndY syndZ
VAR_FLOAT traceX[4] traceY[4] traceZ[4]
VAR_FLOAT scrashX scrashY scrashZ
VAR_FLOAT testsX testsY testsZ
//VEGAS************************************************
VAR_INT desert_contact_blip desert2_contact_blip casino_contact_blip vcrash_contact_blip doc_contact_blip heist_contact_blip
VAR_INT desert_blip_icon desert2_blip_icon casino_blip_icon doc_blip_icon heist_blip_icon pilot_blip_icon pilot_contact_blip
VAR_INT flag_desert_mission_counter Theheist_blip_icon Theheist_contact_blip
VAR_INT dschool_contact_blip
VAR_INT flag_casino_mission_counter
VAR_INT flag_vcrash_mission_counter
VAR_INT flag_doc_mission_counter
VAR_INT flag_heist_mission_counter
VAR_FLOAT desertX desertY desertZ
VAR_FLOAT desert2X desert2Y desert2Z
VAR_FLOAT casinoX casinoY casinoZ
VAR_FLOAT TheheistX TheheistY TheheistZ
VAR_FLOAT vcrashX vcrashY vcrashZ
VAR_FLOAT docX docY docZ
VAR_FLOAT heistX heistY heistZ
//LA2**************************************************
VAR_INT mansion_contact_blip grove_contact_blip
VAR_INT mansion_blip_icon grove_blip_icon
VAR_INT flag_mansion_mission_counter
VAR_INT flag_grove_mission_counter quarry_contact_blip
VAR_INT flag_riot_mission_counter
VAR_INT boat_school_blip got_gimp_suit
VAR_INT bike_school_blip
VAR_FLOAT mansionX mansionY mansionZ
VAR_FLOAT groveX groveY groveZ
//ODDJOBS
VAR_FLOAT RouletteX RouletteY RouletteZ
VAR_FLOAT otbX otbY otbZ
VAR_FLOAT blackjackX blackjackY blackjackZ
VAR_FLOAT driving_schoolx driving_schooly driving_schoolz
VAR_FLOAT basketballx basketbally basketballz
VAR_FLOAT limox limoy limoz
VAR_FLOAT directorx directory directorz
VAR_FLOAT valetx valety valetz
VAR_FLOAT banditx bandity banditz
VAR_FLOAT pilotx piloty pilotz // Pilot School Stuff
intro_blip_icon = RADAR_SPRITE_CJ
sweet_blip_icon = RADAR_SPRITE_SWEET
ryder_blip_icon = RADAR_SPRITE_RYDER
smoke_blip_icon = RADAR_SPRITE_BIG_SMOKE
strap_blip_icon = RADAR_SPRITE_OGLOC
crash_blip_icon = RADAR_SPRITE_CRASH1 //This 1s the same for scrash, bcrash and vcrash
cesar_blip_icon = RADAR_SPRITE_CESAR //Same for bcesar
cat_blip_icon = RADAR_SPRITE_CAT_PINK
truth_blip_icon = RADAR_SPRITE_TRUTH
wuzi_blip_icon = RADAR_SPRITE_WOOZIE
synd_blip_icon = RADAR_SPRITE_LOCO
garage_blip_icon = RADAR_SPRITE_TRIADS
steal_blip_icon = RADAR_SPRITE_CESAR
trace_blip_icon = RADAR_SPRITE_RACE
zero_blip_icon = RADAR_SPRITE_ZERO
casino_blip_icon = RADAR_SPRITE_TRIADS_CASINO
heist_blip_icon = RADAR_SPRITE_MAFIA
Theheist_blip_icon = RADAR_SPRITE_CASH
doc_blip_icon = RADAR_SPRITE_MADDOG
desert_blip_icon = RADAR_SPRITE_TORENO_RANCH
desert2_blip_icon = RADAR_SPRITE_AIRYARD
mansion_blip_icon = RADAR_SPRITE_CJ
pilot_blip_icon = RADAR_SPRITE_SCHOOL
grove_blip_icon = RADAR_SPRITE_SWEET //GET NEW BLIP FOR THIS
GOTO dont_run_the_blips
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD 2447.3643 -1974.4963 12.5469 RADAR_SPRITE_EMMETGUN emmets_shop_blip //Clothes
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD 2070.2703 -1791.0918 17.1484 RADAR_SPRITE_BARBERS barber_shop1 //Barbers
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD 2107.6243 -1807.5155 21.2114 RADAR_SPRITE_PIZZA food_shop1 //Pizza
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD 2243.8069 -1668.5667 20.0313 RADAR_SPRITE_TSHIRT clothes_shop1 //Clothes
ADD_SPRITE_BLIP_FOR_CONTACT_POINT introX introY introZ intro_blip_icon intro_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT sweetX sweetY sweetZ sweet_blip_icon sweet_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT ryderX ryderY ryderZ ryder_blip_icon ryder_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT smokeX smokeY smokeZ smoke_blip_icon smoke_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT strapX strapY strapZ strap_blip_icon strap_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT crashX crashY crashZ crash_blip_icon crash_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT cesarX cesarY cesarZ cesar_blip_icon cesar_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT bcrashX bcrashY bcrashZ crash_blip_icon bcrash_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT catX[0] catY[0] catZ[0] cat_blip_icon cat_contact_blip //cat lodge
//ADD_SPRITE_BLIP_FOR_CONTACT_POINT catX[5] catY[5] catZ[5] cat_blip_icon cat_contact_blip //Cat Truck Stop
ADD_SPRITE_BLIP_FOR_CONTACT_POINT truthX truthY truthZ truth_blip_icon truth_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT bcesarX bcesarY bcesarZ cesar_blip_icon bcesar_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT garageX garageY garageZ crash_blip_icon scrash_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT wuziX wuziY wuziZ wuzi_blip_icon wuzi_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT zeroX zeroY zeroZ zero_blip_icon zero_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT stealX stealY stealZ steal_blip_icon steal_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT garageX garageY garageZ garage_blip_icon garage_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT syndX syndY syndZ crash_blip_icon synd_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT testsX testsY testsZ trace_blip_icon trace_contact_blip[0]
ADD_SPRITE_BLIP_FOR_CONTACT_POINT testsX testsY testsZ trace_blip_icon trace_contact_blip2
ADD_SPRITE_BLIP_FOR_CONTACT_POINT desertX desertY desertZ desert_blip_icon desert_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT desert2X desert2Y desert2Z desert2_blip_icon desert2_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT casinoX casinoY casinoZ casino_blip_icon casino_contact_blip //TRIAD CASINO
ADD_SPRITE_BLIP_FOR_CONTACT_POINT TheheistX TheheistY TheheistZ Theheist_blip_icon Theheist_contact_blip //ROB MAFIA CASINO
ADD_SPRITE_BLIP_FOR_CONTACT_POINT docX docY docZ doc_blip_icon doc_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT vcrashX vcrashY vcrashZ crash_blip_icon vcrash_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT heistX heistY heistZ heist_blip_icon heist_contact_blip //MAFIA CASINO
ADD_SPRITE_BLIP_FOR_CONTACT_POINT mansionX mansionY mansionZ mansion_blip_icon mansion_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT mansionX mansionY mansionZ mansion_blip_icon grove_contact_blip //REMOVE
ADD_SPRITE_BLIP_FOR_CONTACT_POINT pilotx piloty pilotz pilot_blip_icon pilot_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT -2031.2 -118.0 34.3 RADAR_SPRITE_SCHOOL dschool_contact_blip
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT boatsX boatsY boatsZ RADAR_SPRITE_SCHOOL boat_school_blip
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT boatsX boatsY boatsZ RADAR_SPRITE_SCHOOL bike_school_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT 2228.0002 -1722.8113 12.5543 sweet_blip_icon gym_contact_blip
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT save_pickupX[5] save_pickupY[5] save_pickupZ[5] RADAR_SPRITE_SAVEHOUSE save_house_blip[5]
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_CONTACT_POINT quarryX quarryY quarryZ RADAR_SPRITE_BULLDOZER quarry_contact_blip
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD -2728.5, 212.2, 3.4 RADAR_SPRITE_MOD_GARAGE mod_garage_blips[0]
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD -2728.5, 212.2, 3.4 RADAR_SPRITE_MOD_GARAGE mod_garage_blips[1]
ADD_SPRITE_BLIP_FOR_CONTACT_POINT propertyX[0] propertyY[0] propertyZ[0] RADAR_SPRITE_PROPERTY_GREEN showroom_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT propertyX[1] propertyY[1] propertyZ[1] RADAR_SPRITE_PROPERTY_GREEN zero_contact_blip
ADD_SPRITE_BLIP_FOR_CONTACT_POINT propertyX[2] propertyY[2] propertyZ[2] RADAR_SPRITE_PROPERTY_GREEN airstrip_contact_blip
ADD_SHORT_RANGE_SPRITE_BLIP_FOR_COORD truckX truckY truckZ RADAR_SPRITE_TRUCK tucking_contact_blip
CREATE_PROTECTION_PICKUP 2508.359 -1676.538 12.579 10000 territory_cash territory_pickup
CREATE_PICKUP KEYCARD PICKUP_ONCE 0.0 0.0 0.0 millies_keycard_pickup
ADD_SPRITE_BLIP_FOR_CONTACT_POINT 2035.7241 2727.9604 9.8281 Theheist_blip_icon Thekeycard_contact_blip
CREATE_LOCKED_PROPERTY_PICKUP propertyX[0] propertyY[0] propertyZ[0] PROP_4 save_housepickup[0] //SHOWROM
CREATE_LOCKED_PROPERTY_PICKUP propertyX[1] propertyY[1] propertyZ[1] PROP_4 save_housepickup[1] //ZEROS
CREATE_LOCKED_PROPERTY_PICKUP propertyX[2] propertyY[2] propertyZ[2] PROP_4 save_housepickup[2] //AIRSTRIP
CREATE_OBJECT ad_flatdoor 1833.36 -1995.45 12.5 riot2_door[0]
CREATE_OBJECT ad_flatdoor 1819.81 -1994.66 12.5 riot2_door[1]
CREATE_OBJECT ad_flatdoor 1827.68 -1980.0 12.5 riot2_door[2]
CREATE_OBJECT ad_flatdoor 1851.84 -1990.67 12.5 riot2_door[3]
CREATE_OBJECT ad_flatdoor 1867.29 -1984.96 12.5 riot2_door[4]
CREATE_OBJECT ad_flatdoor 1866.52 -1998.53 12.5 riot2_door[5]
CREATE_OBJECT ad_flatdoor 1899.75 -1984.95 12.5 riot2_door[6]
CREATE_OBJECT ad_flatdoor 1914.39 -1992.82 12.5 riot2_door[7]
CREATE_OBJECT ad_flatdoor 1899.01 -1998.5 12.5 riot2_door[8]
CREATE_OBJECT ad_flatdoor 1900.89 -2020.11 12.5 riot2_door[9]
CREATE_OBJECT ad_flatdoor 1914.4 -2020.91 12.5 riot2_door[10]
CREATE_OBJECT ad_flatdoor 1906.54 -2035.52 12.5 riot2_door[11]
//CREATE_OBJECT ad_flatdoor 1851.86 -2020.14 12.5 riot2_door[12]
//CREATE_OBJECT ad_flatdoor 1865.42 -2020.89 12.5 riot2_door[13]
//CREATE_OBJECT ad_flatdoor 1857.55 -2035.52 12.5 riot2_door[14]
WRITE_DEBUG AAAAAAAAA
dont_run_the_blips:
// ************************************HELP PICKUPS VARIABLES************************************
// WASTED HELP ICONS
VAR_INT wasted_help1
VAR_INT wasted_help2
//CREATE_PICKUP INFO PICKUP_ONCE 493.5 703.1 12.1 wasted_help1
//CREATE_PICKUP INFO PICKUP_ONCE -108.3 -974.4 10.4 wasted_help2
// BUSTED HELP ICONS
VAR_INT busted_help1
//CREATE_PICKUP INFO PICKUP_ONCE 508.9 506.8 11.3 busted_help1
//CREATE_PICKUP INFO PICKUP_ONCE 398.8 -469.7 11.7 busted_help2
// ************************************PICKUPVAN************************************
//VAR_INT collectable1_van
//VAR_FLOAT collectable1_van_x collectable1_van_y collectable1_van_z collectable1_van_h
// Zone Locate needed for each van/radio station collectable1_van_x = 2520.56 collectable1_van_y = -1461.98 collectable1_van_z = 23.79 collectable1_van_h = 270.37
//CREATE_CAR_GENERATOR collectable1_van_x collectable1_van_y collectable1_van_z collectable1_van_h NEWSVAN -1 -1 TRUE 0 0 0 10000 gen_car41 // Package Van LA
// *****************************************SWITCH ROADS OFF****************************************
SWITCH_ROADS_OFF 2500.0 -1677.0 20.0 2430.0 -1653.0 0.0 //REMOVE (SPEAK TO JOHN)
// *****************************************SHOPS******************************************************
VAR_INT flag_store_day_food hyfra_gen1 // TEST STUFF TO COME OUT!!!!!!!!!!!!!
flag_store_day_food = 0
VAR_INT total_food_bought_per_day_shops
total_food_bought_per_day_shops = 0
// Generic for all shops
VAR_INT skip_shopping_wait flag_changed_hair_intro2
// TO MAKE PEDS IN PIZZA SHOP PANIC
VAR_INT iSetPizzaPanic
iSetPizzaPanic = 0 // 0 = DEFAULT / 1 = Peds Cower
VAR_FLOAT keep_offX keep_offY keep_offZ
VAR_FLOAT tray_offX tray_offY tray_offZ keep_off_dirX keep_off_dirY
VAR_FLOAT cam_offx cam_offy cam_offz // camera position
VAR_FLOAT ammuX ammuY ammuZ
VAR_FLOAT SHOPS_TEXT_SCALEX SHOPS_TEXT_SCALEY
VAR_INT TEXT_COL_SELECT_R TEXT_COL_SELECT_G TEXT_COL_SELECT_B TEXT_COL_SELECT_A
VAR_INT TEXT_COL_DULL_R TEXT_COL_DULL_G TEXT_COL_DULL_B TEXT_COL_DULL_A
VAR_INT TEXT_COL_NA_R TEXT_COL_NA_G TEXT_COL_NA_B TEXT_COL_NA_A
SHOPS_TEXT_SCALEX = 1.0
SHOPS_TEXT_SCALEY = 1.6
TEXT_COL_SELECT_R = 200
TEXT_COL_SELECT_G = 200
TEXT_COL_SELECT_B = 200
TEXT_COL_SELECT_A = 255
TEXT_COL_DULL_R = 100
TEXT_COL_DULL_G = 100
TEXT_COL_DULL_B = 100
TEXT_COL_DULL_A = 255
TEXT_COL_NA_R = 20
TEXT_COL_NA_G = 20
TEXT_COL_NA_B = 20
TEXT_COL_NA_A = 255
VAR_TEXT_LABEL shop_name
// REWARD CARS
CREATE_CAR_GENERATOR 2435.3018 -1671.8483 12.8007 90.0 rhino -1 -1 TRUE 0 0 0 10000 tank_gen1 // Farm car //HUB
SWITCH_CAR_GENERATOR tank_gen1 0
CREATE_CAR_GENERATOR 2527.2 -1677.1 19.2 90.0 hydra -1 -1 TRUE 0 0 0 10000 hyfra_gen1 // Farm car //HUB
SWITCH_CAR_GENERATOR hyfra_gen1 0
// **************************************** OBJECT SCRIPTS ********************************************
CONST_INT NONE_SC 0
CONST_INT DUAL_SC 1
CONST_INT SHTR_SC 2
CONST_INT GRAV_SC 3
CONST_INT OTB_SCRIPT 4
CONST_INT POOL_SCRIPT 5
CONST_INT LOWR_SCRIPT 6
CONST_INT ZERO5 7
VAR_INT load_and_launch_mission_if_poss
load_and_launch_mission_if_poss = -1
REGISTER_STREAMED_SCRIPT player_parachute.sc
REGISTER_STREAMED_SCRIPT parachute.sc
REGISTER_STREAMED_SCRIPT bcesar2.sc
REGISTER_STREAMED_SCRIPT bcesar3.sc
REGISTER_STREAMED_SCRIPT slot_machine.sc
REGISTER_STREAMED_SCRIPT roulette.sc
REGISTER_STREAMED_SCRIPT otb_script.sc
REGISTER_STREAMED_SCRIPT arcade.sc
REGISTER_STREAMED_SCRIPT vending_machine.sc
REGISTER_STREAMED_SCRIPT food_vendor.sc
REGISTER_STREAMED_SCRIPT gates_script.sc
REGISTER_STREAMED_SCRIPT gymbike.sc
REGISTER_STREAMED_SCRIPT gymbench.sc
REGISTER_STREAMED_SCRIPT gymtread.sc
REGISTER_STREAMED_SCRIPT gymdumb.sc
REGISTER_STREAMED_SCRIPT basketb.sc
REGISTER_STREAMED_SCRIPT vidpok.sc
REGISTER_STREAMED_SCRIPT blackj.sc
REGISTER_STREAMED_SCRIPT wheelo.sc
REGISTER_STREAMED_SCRIPT Dealer.sc
REGISTER_STREAMED_SCRIPT home_brains.sc
//REGISTER_STREAMED_SCRIPT pros_brains.sc
REGISTER_STREAMED_SCRIPT pool_script.sc
REGISTER_STREAMED_SCRIPT lowr_cont.sc
REGISTER_STREAMED_SCRIPT burg_brains.sc
REGISTER_STREAMED_SCRIPT GF_Meeting.sc
REGISTER_STREAMED_SCRIPT GF_Date.sc
REGISTER_STREAMED_SCRIPT GF_Sex.sc
REGISTER_STREAMED_SCRIPT Casino_ambience.sc
REGISTER_STREAMED_SCRIPT Bar_ambience.sc
REGISTER_STREAMED_SCRIPT FoodBrains.sc
REGISTER_STREAMED_SCRIPT OTB_ambience.sc
REGISTER_STREAMED_SCRIPT Strip_ambience.sc
REGISTER_STREAMED_SCRIPT planes.sc
REGISTER_STREAMED_SCRIPT trains.sc
REGISTER_STREAMED_SCRIPT Zero_ambience.sc
REGISTER_STREAMED_SCRIPT Dance.sc
//PEOPLE
REGISTER_STREAMED_SCRIPT ShopKeeper.sc
REGISTER_STREAMED_SCRIPT Customer_Panic.sc
REGISTER_STREAMED_SCRIPT Bar_Staff.sc
REGISTER_STREAMED_SCRIPT Bouncer.sc
REGISTER_STREAMED_SCRIPT OTB_Staff.sc
//ATTRACTOR BRAINS
REGISTER_STREAMED_SCRIPT PCHAIR.sc
REGISTER_STREAMED_SCRIPT PCUSTOM.sc
REGISTER_STREAMED_SCRIPT OTBWTCH.sc
REGISTER_STREAMED_SCRIPT OTBSLP.sc
REGISTER_STREAMED_SCRIPT OTBTILL.sc
REGISTER_STREAMED_SCRIPT FBOOTHR.sc
REGISTER_STREAMED_SCRIPT FBOOTHL.sc
REGISTER_STREAMED_SCRIPT BARGUY.sc
REGISTER_STREAMED_SCRIPT PEDROUL.sc
REGISTER_STREAMED_SCRIPT PEDCARD.sc
REGISTER_STREAMED_SCRIPT PEDSLOT.sc
REGISTER_STREAMED_SCRIPT DANCER.sc
REGISTER_STREAMED_SCRIPT STRIPW.sc
REGISTER_STREAMED_SCRIPT STRIPM.sc
// SHOPS
REGISTER_STREAMED_SCRIPT BROWSE.sc
REGISTER_STREAMED_SCRIPT COPSIT.sc
REGISTER_STREAMED_SCRIPT COPLOOK.sc
REGISTER_STREAMED_SCRIPT TICKET.sc
REGISTER_STREAMED_SCRIPT SHOPPER.sc
REGISTER_STREAMED_SCRIPT ammu.sc
REGISTER_STREAMED_SCRIPT tattoo.sc
REGISTER_STREAMED_SCRIPT barber.sc
REGISTER_STREAMED_SCRIPT wardrobe.sc
REGISTER_STREAMED_SCRIPT clothes.sc
REGISTER_STREAMED_SCRIPT junkfud.sc
REGISTER_STREAMED_SCRIPT carmod1.sc
REGISTER_STREAMED_SCRIPT crane1.sc
REGISTER_STREAMED_SCRIPT crane2.sc
REGISTER_STREAMED_SCRIPT crane3.sc
REGISTER_STREAMED_SCRIPT carpark1.sc
REGISTER_STREAMED_SCRIPT impound.sc
REGISTER_STREAMED_SCRIPT valet.sc
REGISTER_STREAMED_SCRIPT PHOTO.sc
REGISTER_STREAMED_SCRIPT PRISONR.sc
REGISTER_STREAMED_SCRIPT camera.sc
REGISTER_STREAMED_SCRIPT debt.sc
REGISTER_STREAMED_SCRIPT hotdog.sc
CONST_INT CASINO_OBJECT_BRAIN 1
//CHRIS R's OBJECT SCRIPTS vv
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT slot_machine.sc KB_BANDIT_U 100 6.0 CASINO_OBJECT_BRAIN
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT roulette.sc ROULETTE_TBL 60 50.0 CASINO_OBJECT_BRAIN
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT otb_script.sc OTB_MACHINE 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc CJ_COIN_OP_3 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc CJ_COIN_OP_2 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc CJ_COIN_OP_1 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc CJ_COIN_OP 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc SWANK_CONSOLE 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc SNESISH 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT arcade.sc LOW_CONSOLE 100 4.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc VENDMACHFD 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc VENDMACH 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc VENDIN3 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc CJ_SPRUNK1 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc CJ_CANDYVENDOR 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc CJ_EXT_CANDY 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vending_machine.sc CJ_EXT_SPRUNK 100 6.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT food_vendor.sc ICESCART_PROP 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT food_vendor.sc CHILLIDOGCART 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT food_vendor.sc NOODLECART_PROP 100 70.0 -1
VAR_INT open_gate_now_flag
open_gate_now_flag = 0
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gates_script.sc GATE_AUTOL 100 80.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gates_script.sc GATE_AUTOR 100 80.0 -1
//CHRIS R's OBJECT SCRIPTS ^^
//PAUL's OBJECT SCRIPTS vv
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gymbike.sc gym_bike 100 20.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gymbench.sc gym_bench1 100 20.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gymtread.sc gym_treadmill 100 20.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT gymdumb.sc gym_mat1 100 20.0 -1
//PAULS's OBJECT SCRIPTS ^^
//NEILS's OBJECT SCRIPTS vv
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT basketb.sc BSKBALL_LAX 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT basketb.sc BSKBALLHUB_LAX01 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT basketb.sc VGSXREFBBALLNET 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT basketb.sc VGSXREFBBALLNET2 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT pool_script.sc K_POOLTABLESM 100 70.0 -1
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vidpok.sc NEIL_SLOT 100 4.0 CASINO_OBJECT_BRAIN
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT vidpok.sc CJ_SLOT_BANK 100 4.0 CASINO_OBJECT_BRAIN
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT blackj.sc BLCK_JACK 50 70.0 CASINO_OBJECT_BRAIN
ALLOCATE_STREAMED_SCRIPT_TO_OBJECT wheelo.sc WHEEL_O_FORTUNE 50 70.0 CASINO_OBJECT_BRAIN
//NEIL's OBJECT SCRIPTS ^^
// ADD IN SECTION TO CREATE THE TERRITORY PICKUP GENERATING CASH*************************************
VAR_INT territory_pickup
VAR_INT player_territory_owned
VAR_INT territory_cash
territory_cash = 1
// **********************************************BRAINS**********************************************
// ALLOCATE_STREAMED_SCRIPT_TO_RANDOM_PED test_brain goon1 100 //TEST SCRIPT
REGISTER_SCRIPT_BRAIN_FOR_CODE_USE burg_brains.sc HOUSE
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE DANCER.sc DANCER
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE PCHAIR.sc PCHAIR
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE PCUSTOM.sc PCUSTOM
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE OTBWTCH.sc OTBWTCH
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE OTBSLP.sc OTBSLP
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE OTBTILL.sc OTBTILL
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE FBOOTHR.sc FBOOTHR
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE FBOOTHL.sc FBOOTHL
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE BARGUY.sc BARGUY
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE PEDROUL.sc PEDROUL
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE PEDCARD.sc PEDCARD
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE PEDSLOT.sc PEDSLOT
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE STRIPW.sc STRIPW
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE STRIPM.sc STRIPM
REGISTER_ATTRACTOR_SCRIPT_BRAIN_FOR_CODE_USE BROWSE.sc BROWSE