// Players
PLAYER_PED player01 = ( 5.0 , 6.0 , 2.0 ) 5 25 
PLAYER_PED player02 = ( 52.1 , 8.9 , 2.0 ) 23 25 
PLAYER_PED player03 = ( 42.9 , 23.6 , 4.0 ) 13 25 
PLAYER_PED player04 = ( 13.9 , 48.0 , 2.0 ) 8 25 

// Cars
PARKED_CAR_DATA car01 = ( 61.0 , 49.5 , 2.0 ) 28 90 firetruk 
PARKED_CAR_DATA car02 = ( 64.0 , 47.5 , 2.0 ) 28 90 swatvan 
PARKED_CAR_DATA car03 = ( 61.0 , 47.4 , 2.0 ) 28 90 swatvan 
PARKED_CAR_DATA car04 = ( 61.0 , 45.4 , 2.0 ) 28 90 copcar 
PARKED_CAR_DATA car05 = ( 64.0 , 45.4 , 2.0 ) 28 90 copcar 
PARKED_CAR_DATA car06 = ( 69.0 , 45.5 , 2.0 ) 34 270 stingray 
PARKED_CAR_DATA car07 = ( 72.1 , 45.5 , 2.0 ) 0 270 stingray 
PARKED_CAR_DATA car08 = ( 69.0 , 47.4 , 2.0 ) 28 270 gunjeep 
PARKED_CAR_DATA car09 = ( 72.0 , 47.4 , 2.0 ) 28 270 gunjeep 
PARKED_CAR_DATA car10 = ( 72.0 , 49.4 , 2.0 ) 28 270 icecream 
PARKED_CAR_DATA car11 = ( 69.0 , 49.5 , 2.0 ) 28 270 icecream 
PARKED_CAR_DATA car12 = ( 64.1 , 49.5 , 2.0 ) 28 270 firetruk 
PARKED_CAR_DATA car13 = ( 69.0 , 51.5 , 2.0 ) 10 270 gt24640 
PARKED_CAR_DATA car14 = ( 71.9 , 51.5 , 2.0 ) 0 270 gt24640 
PARKED_CAR_DATA car15 = ( 107.5 , 14.5 , 2.0 ) 6 180 tranceam 
PARKED_CAR_DATA car16 = ( 107.5 , 16.6 , 2.0 ) 10 180 tranceam 
PARKED_CAR_DATA car17 = ( 109.5 , 14.4 , 2.0 ) 0 180 tranceam 
PARKED_CAR_DATA car18 = ( 28.5 , 7.4 , 2.0 ) 5 270 copcar 
PARKED_CAR_DATA car19 = ( 31.3 , 6.5 , 2.0 ) 5 270 copcar 
PARKED_CAR_DATA car20 = ( 31.5 , 13.5 , 2.0 ) 5 90 medicar 
PARKED_CAR_DATA car21 = ( 60.6 , 145.0 , 2.0 ) 5 90 tank 
PARKED_CAR_DATA car22 = ( 71.6 , 145.1 , 2.0 ) 5 270 tank 
PARKED_CAR_DATA car23 = ( 6.5 , 44.5 , 2.0 ) 5 180 dart 
PARKED_CAR_DATA car24 = ( 6.5 , 42.5 , 2.0 ) 10 180 van 
PARKED_CAR_DATA car25 = ( 4.5 , 44.5 , 2.0 ) 32 180 spider 
PARKED_CAR_DATA car26 = ( 4.4 , 42.4 , 2.0 ) 17 180 stype 
PARKED_CAR_DATA car27 = ( 2.5 , 44.5 , 2.0 ) 2 180 xk120 
PARKED_CAR_DATA car28 = ( 2.4 , 42.5 , 2.0 ) 5 180 morris 
PARKED_CAR_DATA car29 = ( 71.5 , 2.6 , 2.0 ) 16 180 jeffrey 
PARKED_CAR_DATA car30 = ( 75.5 , 2.5 , 2.0 ) 15 180 bmw 
PARKED_CAR_DATA car31 = ( 60.9 , 51.5 , 2.0 ) 5 270 edselfbi 
PARKED_CAR_DATA car32 = ( 63.9 , 51.5 , 2.0 ) 5 270 edselfbi 
PARKED_CAR_DATA car33 = ( 49.5 , 39.4 , 2.0 ) 3 180 bug 
PARKED_CAR_DATA car34 = ( 50.5 , 39.4 , 2.0 ) 7 180 messer 
PARKED_CAR_DATA car35 = ( 49.9 , 40.4 , 2.0 ) 2 270 limo 
PARKED_CAR_DATA car36 = ( 49.5 , 44.6 , 2.0 ) 29 180 pickup 
PARKED_CAR_DATA car37 = ( 50.4 , 44.5 , 2.0 ) 5 180 rtype 
PARKED_CAR_DATA car38 = ( 50.0 , 45.5 , 2.0 ) 5 270 krsnabus 
PARKED_CAR_DATA car39 = ( 21.5 , 101.4 , 2.0 ) 5 270 jeffrey 
PARKED_CAR_DATA car40 = ( 24.4 , 101.5 , 2.0 ) 5 270 jeffrey 
PARKED_CAR_DATA car41 = ( 26.5 , 101.5 , 2.0 ) 5 270 edsel 
PARKED_CAR_DATA car42 = ( 30.4 , 101.5 , 2.0 ) 5 270 edsel 
PARKED_CAR_DATA car43 = ( 32.5 , 101.4 , 2.0 ) 5 270 wbtwin 
PARKED_CAR_DATA car44 = ( 34.4 , 101.4 , 2.0 ) 5 270 wbtwin 
PARKED_CAR_DATA car45 = ( 21.5 , 103.4 , 2.0 ) 31 270 stingray 
PARKED_CAR_DATA car46 = ( 34.5 , 103.4 , 2.0 ) 31 270 stingray 
PARKED_CAR_DATA car47 = ( 24.5 , 104.4 , 2.0 ) 5 270 tranceam 
PARKED_CAR_DATA car48 = ( 26.4 , 104.5 , 2.0 ) 5 270 tranceam 
PARKED_CAR_DATA car49 = ( 29.5 , 104.5 , 2.0 ) 5 270 zcx5 
PARKED_CAR_DATA car50 = ( 31.5 , 104.4 , 2.0 ) 5 270 zcx5 
PARKED_CAR_DATA car51 = ( 21.5 , 105.4 , 2.0 ) 5 270 merc 
PARKED_CAR_DATA car52 = ( 34.5 , 105.5 , 2.0 ) 5 270 merc 
PARKED_CAR_DATA car53 = ( 21.5 , 107.4 , 2.0 ) 5 270 stratosb 
PARKED_CAR_DATA car54 = ( 25.4 , 107.4 , 2.0 ) 5 270 stratosb 
PARKED_CAR_DATA car55 = ( 27.5 , 107.4 , 2.0 ) 5 270 stripetb 
PARKED_CAR_DATA car56 = ( 29.5 , 107.4 , 2.0 ) 5 270 stripetb 
PARKED_CAR_DATA car57 = ( 31.5 , 107.5 , 2.0 ) 5 270 vtype 
PARKED_CAR_DATA car58 = ( 34.5 ,107.5 , 2.0 ) 5 270 vtype 
PARKED_CAR_DATA car59 = ( 112.4 , 91.8 , 2.0 ) 10 180 t2000gt 
PARKED_CAR_DATA car60 = ( 113.4 , 91.5 , 2.0 ) 10 180 miura 
PARKED_CAR_DATA car61 = ( 61.5 , 151.5 , 2.0 ) 10 90 gunjeep 
PARKED_CAR_DATA car62 = ( 61.5 , 153.5 , 2.0 ) 10 90 gunjeep 
PARKED_CAR_DATA car63 = ( 67.5 , 151.5 , 2.0 ) 10 270 jeep 
PARKED_CAR_DATA car64 = ( 67.5 , 153.4 , 2.0 ) 10 270 jeep 
PARKED_CAR_DATA car65 = ( 64.5 , 153.5 , 2.0 ) 10 180 apc 
PARKED_CAR_DATA car66 = ( 64.5 , 151.4 , 2.0 ) 10 180 apc 
PARKED_CAR_DATA car67 = ( 83.4 , 159.5 , 2.0 ) 10 90 jeep 
PARKED_CAR_DATA car68 = ( 85.5 , 159.5 , 2.0 ) 10 90 jeep 
PARKED_CAR_DATA car69 = ( 83.5 , 163.5 , 2.0 ) 10 90 gunjeep 
PARKED_CAR_DATA car70 = ( 85.5 , 163.5 , 2.0 ) 10 90 gunjeep 
PARKED_CAR_DATA car71 = ( 83.4 , 161.5 , 2.0 ) 10 90 apc 
PARKED_CAR_DATA car72 = ( 85.5 , 161.5 , 2.0 ) 10 90 apc 
PARKED_CAR_DATA car73 = ( 59.5 , 160.5 , 2.0 ) 10 0 tank 
PARKED_CAR_DATA car74 = ( 57.4 , 160.4 , 2.0 ) 10 0 tank 
PARKED_CAR_DATA car75 = ( 50.7 , 184.4 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car76 = ( 50.6 , 185.9 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car77 = ( 51.4 , 185.3 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car78 = ( 52.6 , 185.1 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car79 = ( 52.7 , 186.6 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car80 = ( 54.3 , 185.4 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car81 = ( 53.6 , 184.2 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car82 = ( 54.6 , 183.5 , 2.0 ) 10 0 graham 
PARKED_CAR_DATA car83 = ( 196.2 , 87.9 , 2.0 ) 10 180 EDSELFBI
PARKED_CAR_DATA car84 = ( 197.5 , 87.9 , 2.0 ) 10 180 EDSELFBI
PARKED_CAR_DATA car85 = ( 199.0 , 87.9 , 2.0 ) 10 180 EDSELFBI 
PARKED_CAR_DATA car86 = ( 196.0 , 84.2 , 2.0 ) 10 0 EDSELFBI 
PARKED_CAR_DATA car87 = ( 197.4 , 84.2 , 2.0 ) 10 0 EDSELFBI
PARKED_CAR_DATA car88 = ( 198.9 , 84.2 , 2.0 ) 10 0 EDSELFBI
PARKED_CAR_DATA car89 = ( 177.6 , 88.5 , 2.0 ) 10 90 COPCAR
PARKED_CAR_DATA car90 = ( 177.6 , 87.5 , 2.0 ) 10 90 COPCAR
PARKED_CAR_DATA car91 = ( 179.5 , 87.5 , 2.0 ) 10 270 COPCAR
PARKED_CAR_DATA car92 = ( 179.5 , 88.5 , 2.0 ) 10 270 COPCAR
PARKED_CAR_DATA car93 = ( 177.6 , 84.5 , 2.0 ) 10 90 COPCAR
PARKED_CAR_DATA car94 = ( 179.5 , 84.5 , 2.0 ) 10 270 COPCAR
PARKED_CAR_DATA car95 = ( 177.6 , 83.5 , 2.0 ) 10 90 COPCAR
PARKED_CAR_DATA car96 = ( 179.5 , 83.5 , 2.0 ) 10 270 COPCAR
PARKED_CAR_DATA car97 = ( 167.6 , 87.5 , 2.0 ) 10 90 SWATVAN
PARKED_CAR_DATA car98 = ( 167.6 , 86.5 , 2.0 ) 10 90 SWATVAN
PARKED_CAR_DATA car99 = ( 167.6 , 85.5 , 2.0 ) 10 90 SWATVAN
PARKED_CAR_DATA car100 = ( 167.6 , 84.5 , 2.0 ) 10 90 SWATVAN
PARKED_CAR_DATA car101 = ( 167.6 , 83.5 , 2.0 ) 10 90 SWATVAN
PARKED_CAR_DATA car102 = ( 104.9 , 115.7 , 2.0 ) 10 0 FIRETRUK
PARKED_CAR_DATA car103 = ( 106.9 , 115.7 , 2.0 ) 10 0 FIRETRUK
PARKED_CAR_DATA car104 = ( 196.5 , 61.5 , 2.0 ) 10 180 ICECREAM
PARKED_CAR_DATA car105 = ( 198.5 , 61.5 , 2.0 ) 10 180 ICECREAM
PARKED_CAR_DATA car106 = ( 198.5 , 59.5 , 2.0 ) 10 0 ICECREAM
PARKED_CAR_DATA car107 = ( 196.5 , 59.5 , 2.0 ) 10 0 ICECREAM
PARKED_CAR_DATA car108 = ( 6.5 , 36.4 , 2.0 ) 10 0 bankvan
PARKED_CAR_DATA car109 = ( 6.5 , 38.5 , 2.0 ) 10 180 bankvan
PARKED_CAR_DATA car110 = ( 7.5 , 36.4 , 2.0 ) 10 0 bankvan
PARKED_CAR_DATA car111 = ( 7.5 , 38.5 , 2.0 ) 10 180 bankvan
PARKED_CAR_DATA car112 = ( 8.4  , 24.4 , 3.0 ) 34 90 limo
PARKED_CAR_DATA boom = ( 44.4 , 28.5 , 2.0 ) 34 90 GT24640
PARKED_CAR_DATA fuel = ( 168.7  , 117.9 , 2.0 ) 34 90 tanker

// Reserve cars for future use
CAR_DATA minitest

// FORWARDING
FORWARD minibomb:

THREAD_TRIGGER thr_carbomb = THREAD_WAIT_FOR_CHAR_IN_BLOCK ( player01, 214 , 216, 2 , minibomb: )

minibomb:
DISPLAY_BRIEF ( 1007 )
minitest = CREATE_CAR ( 7.0 , 10.0 , 2.0 ) 2 0 Stingray MINI_CAR END
DELETE_ITEM ( remote )
TAKE_REMOTE_CONTROL_OF_CAR ( player01 , minitest )
RETURN

// Characters
CHAR_DATA GUARD01 = ( 73.5 , 43.5 , 2.0 ) 4 270 GUARD_AGAINST_PLAYER 
GIVE_WEAPON ( GUARD01 , SILENCED_MACHINE_GUN ) 
SET_CHAR_THREAT_SEARCH ( guard01 , AREA_PLAYER_ONLY ) 
SET_CHAR_THREAT_REACTION ( guard01 , REACT_AS_NORMAL ) 

CHAR_DATA GUARD02 = ( 72.7 , 43.1 , 2.0 ) 4 270 GUARD_AGAINST_PLAYER 
GIVE_WEAPON ( GUARD02 , SILENCED_MACHINE_GUN ) 
SET_CHAR_THREAT_SEARCH ( guard02 , AREA_PLAYER_ONLY ) 
SET_CHAR_THREAT_REACTION ( guard02 , REACT_AS_NORMAL ) 

CHAR_DATA GUARD03 = ( 73.5 , 41.5 , 2.0 ) 4 270 GUARD_AGAINST_PLAYER 
GIVE_WEAPON ( GUARD03 , SILENCED_MACHINE_GUN ) 
SET_CHAR_THREAT_SEARCH ( guard03 , AREA_PLAYER_ONLY ) 
SET_CHAR_THREAT_REACTION ( guard03 , REACT_AS_NORMAL ) 

CHAR_DATA GUARD04 = ( 72.6 , 41.6 , 2.0 ) 4 270 GUARD_AGAINST_PLAYER 
GIVE_WEAPON ( GUARD04 , SILENCED_MACHINE_GUN ) 
SET_CHAR_THREAT_SEARCH ( guard04 , AREA_PLAYER_ONLY ) 
SET_CHAR_THREAT_REACTION ( guard04 , REACT_AS_NORMAL ) 

// Objects 
OBJ_DATA paintshop01 = ( 8.5 , 70.6 , 2.0 ) 0 car_shop 6 
OBJ_DATA paintshop02 = ( 10.5 , 70.4 , 2.0 ) 0 car_shop 10 
OBJ_DATA paintshop03 = ( 12.5 , 70.5 , 2.0 ) 0 car_shop 17 
OBJ_DATA paintshop04 = ( 14.5 , 70.5 , 2.0 ) 0 car_shop 2 
OBJ_DATA paintshop05 = ( 34.4 , 75.5 , 2.0 ) 0 car_shop 5 
OBJ_DATA paintshop06 = ( 34.4 , 77.5 , 2.0 ) 0 car_shop 16 
OBJ_DATA paintshop07 = ( 34.5 , 79.4 , 2.0 ) 0 car_shop 32 
OBJ_DATA paintshop08 = ( 34.5 , 81.4 , 2.0 ) 0 car_shop 15 
OBJ_DATA gunshop01 = ( 55.8 , 22.5 , 2.0 ) 0 car_shop machinegun_shop 
OBJ_DATA minesshop01 = ( 57.6 , 22.5 , 2.0 ) 0 car_shop mines_shop 
OBJ_DATA oilshop01 = ( 59.5 , 22.6 , 2.0 ) 0 car_shop oilslick_shop 
OBJ_DATA bombshop01 = ( 61.6 , 22.6 , 2.0 ) 0 car_shop bomb_shop 
OBJ_DATA football01 = ( 27.0 , 48.0 , 2.0 ) 0 footy 
OBJ_DATA paintshop09 = ( 150.5 , 16.5 , 2.0 ) 0 car_shop 5 
OBJ_DATA paintshop10 = ( 148.5 , 16.5 , 2.0 ) 0 car_shop 15 
OBJ_DATA paintshop11 = ( 146.5 , 16.5 , 2.0 ) 0 car_shop 30 
OBJ_DATA paintshop12 = ( 144.5 , 16.5 , 2.0 ) 0 car_shop 2 
OBJ_DATA paintshop13 = ( 136.5 , 71.6 , 2.0 ) 0 car_shop 24
OBJ_DATA paintshop14 = ( 48.5 , 49.5 , 2.0 ) 0 car_shop 27 
OBJ_DATA bombshop02 = ( 144.5 , 71.6 , 2.0 ) 0 car_shop bomb_shop 
OBJ_DATA gunshop02 = ( 138.6 , 71.5 , 2.0 ) 0 car_shop machinegun_shop 
OBJ_DATA minesshop02 = ( 140.5 , 71.6 , 2.0 ) 0 car_shop mines_shop 
OBJ_DATA oilshop02 = ( 142.5 , 71.5 , 2.0 ) 0 car_shop oilslick_shop 
OBJ_DATA oilshop03 = ( 72.5 , 150.6 , 2.0 ) 0 car_shop oilslick_shop
OBJ_DATA gunshop03 = ( 72.5 , 150.6 , 2.0 ) 0 car_shop machinegun_shop 
OBJ_DATA minesshop03 = ( 72.5 , 150.6 , 2.0 ) 0 car_shop mines_shop
OBJ_DATA paintshop15 = ( 160.1 , 119.4 , 2.0 ) 0 car_shop 21
OBJ_DATA football02 = ( 18.6 , 47.6 , 3.0 ) 0 footy 
OBJ_DATA b00m = ( 44.4 , 28.5 , 2.0 ) 0 MINE
OBJ_DATA phone01 = ( 16.5 , 16.5 , 2.0 ) 180 phone
OBJ_DATA streetfootball01 = ( 203.0 , 46.0 , 2.0 ) 0 footy
OBJ_DATA remote = ( 62.0 , 40.0 , 2.0 ) 0 REMOTE

// Generators

GENERATOR flamer01 = ( 5.4 , 7.3 , 2.0 ) 0 COLLECT_08 1500 1500 99
GENERATOR flamer02 = ( 51.5 , 8.5 , 2.0 ) 0 COLLECT_40 1500 1500 20

// Sounds

SOUND plant01 = ( 131.0 , 72.8 , 2.0 ) POWER_PLANT PLAY_FOREVER 
SOUND singing01 = ( 58.4 , 123.7 , 2.0 ) CHURCH_SINGING PLAY_FOREVER

// Set up local gangs
SET_GANG_INFO ( hulkgang , 23 , pistol , MOLOTOV , rocket_launcher , 4 , 12.5 , 6.5 , 2.0 , 1 , pickup , -1 )
SET_GANG_INFO ( Yakuzagang , 13 , SILENCED_MACHINE_GUN , ELECTRO_BATON , electro_gun , 2 , 2.0, 2.0 , 2.0 , 1 , miura , -1 )
SET_GANG_INFO ( gang3 , 7 , FLAME_THROWER , FLAME_THROWER , FLAME_THROWER , 5 , 2.0 , 2.0 , 2.0 , 1 , stingray , -1 )

// Set up gang kill reactions
SET_GANG_KILL_REACTION ( hulkgang , Yakuzagang , 1 )
SET_GANG_KILL_REACTION ( Yakuzagang , gang3 , 1 )
SET_GANG_KILL_REACTION ( gang3 , hulkgang , 1 )

// Game counters
COUNTER countername = 1 

LEVELSTART 

CHAR_DATA character_0 = ( 5.4 , 7.3 , 2.0 ) 4 0 PSYCHO

GIVE_WEAPON ( minitest , CAR_BOMB , 1 )


// Switch generators ON
SWITCH_GENERATOR ( flamer01 , ON )
SWITCH_GENERATOR ( flamer02 , ON )
SWITCH_GENERATOR ( flamer01 , ON )

WHILE_EXEC ( countername = 1 ) 

DO_NOWT 

ENDWHILE 

LEVELEND