/* 28-02-2010
http://gtamp.com/forum/viewtopic.php?f=5&t=68&p=370#p370
GMPFile = MP5-comp.gmp
STYFile = ste.sty
SCRFile = faceoff-revised-6p.scr
Description = Face Off Revised 6player

Thanks to Lantyz, B-$hep and Gustavob for finding all Face off weapon and player coordinates and recreating the script.
Sektor made the gang powerup instantly respawn, changed player colours, removed invul, replaced invis with rocket launcher,
added some hard to get weapons, set max wanted level to FBI, put a sprayshop near vehicle gun, players always have $5000 for repraying.
*/


PLAYER_PED p1 = ( 44.5 , 201.5 , 5.0 ) 10 135 // Red
PLAYER_PED p2 = ( 48.5 , 201.5 , 5.0 ) 09 225 // Orange
PLAYER_PED p3 = ( 44.5 , 199.5 , 5.0 ) 07 045 // Yellow
PLAYER_PED p4 = ( 48.5 , 199.5 , 5.0 ) 11 315 // Green
PLAYER_PED p5 = ( 46.5 , 199.5 , 5.0 ) 13 000 // Dark Blue
PLAYER_PED p6 = ( 46.5 , 201.5 , 5.0 ) 08 180 // Black
RADIO_STATION radio1 = STATION_ZAIBATSU (247.50, 67.50)
RADIO_STATION radio2 = STATION_REDNECK (41.50, 48.50)
RADIO_STATION radio3 = STATION_SCIENTIST (211.50, 229.50)
RADIO_STATION radio4 = STATION_RESIDENTIAL (166.50, 103.50)

GENERATOR pistol1 = ( 46.5 , 200.5 , 5.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR pistol2 = ( 83.5 , 209.5 , 2.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR pistol3 = ( 26.5 , 207.5 , 2.0 ) 0 COLLECT_00 1799 1800 40
GENERATOR dualpistol1 = ( 36.5 , 187.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol2 = ( 110.5 , 205.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol3 = ( 11.5 , 216.5 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR dualpistol4 = ( 49.0 , 224.0 , 2.0 ) 0 COLLECT_10 1799 1800 20
GENERATOR mac1 = ( 32.0 , 241.0 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac2 = ( 12.5 , 249.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac3 = ( 40.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR mac4 = ( 99.5 , 216.5 , 2.0 ) 0 COLLECT_01 1799 1800 15
GENERATOR silmac1 = ( 33.0 , 202.0 , 3.0 ) 0 COLLECT_09 1799 1800 15
GENERATOR silmac2 = ( 102.5 , 250.5 , 2.0 ) 0 COLLECT_09 1799 1800 15
GENERATOR shotgun1 = ( 74.5 , 193.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun2 = ( 58.5 , 223.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun3 = ( 99.5 , 222.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR shotgun4 = ( 17.5 , 244.5 , 2.0 ) 0 COLLECT_06 1799 1800 15
GENERATOR flame = ( 3.0 , 198.0 , 3.0 ) 0 COLLECT_08 1799 1800 7
GENERATOR electro = ( 35.0 , 218.0 , 4.0 ) 0 COLLECT_03 1799 1800 7
GENERATOR bagoom1 = ( 99.5 , 244.5 , 3.0 ) 0 COLLECT_02 1799 1800 5
GENERATOR bagoom2 = ( 4.5 , 227.5 , 2.0 ) 0 COLLECT_02 1799 1800 5
GENERATOR grenades1 = ( 3.5 , 190.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR grenades2 = ( 65.5 , 209.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR grenades3 = ( 72.5 , 244.5 , 2.0 ) 0 COLLECT_05 1799 1800 10
GENERATOR molotovs = ( 105.0 , 229.0 , 3.0 ) 0 COLLECT_04 1799 1800 10

GENERATOR vehmines = ( 59.5 , 201.5 , 2.0 ) 0 COLLECT_17 1799 1800 4
GENERATOR vehoil = ( 95.5 , 191.5 , 2.0 ) 0 COLLECT_16 1799 1800 5
GENERATOR vehmac = ( 69.5 , 250.5 , 2.0 ) 0 COLLECT_18 1799 1800 10
GENERATOR vehbomb = ( 56.0 , 239.0 , 2.0 ) 0 COLLECT_15  1799 1800 1

GENERATOR fingers = ( 18.0 , 198.0 , 3.0 ) 0 COLLECT_37 1799 1800
GENERATOR fr = ( 82.5 , 207.5 , 2.0 ) 0 COLLECT_36 1799 1800
GENERATOR health = ( 34.0 , 218.0 , 4.0 ) 0 COLLECT_30 1799 1800
GENERATOR armor = ( 4.5 , 241.5 , 2.0 ) 0 COLLECT_31 1799 1800

//GENERATOR invul = ( 4.5 , 226.5 , 2.0 ) 0 COLLECT_34 1799 1800
//GENERATOR invis = ( 85.0 , 220.5 , 2.0 ) 0 COLLECT_39 1799 1800
GENERATOR rocketl = ( 85.0 , 220.5 , 2.0 ) 0 COLLECT_02 1799 1800
GENERATOR gang = ( 54.5 , 249.5 , 2.0 ) 0 COLLECT_40 0 0 

//hard to get powerups
GENERATOR doubled = ( 68.5 , 249.4 ) 0 COLLECT_35 0 0
GENERATOR fastreload2 = ( 69.0 , 249.4 ) 0 COLLECT_36 0 0
GENERATOR electro2 = ( 69.5 , 249.4 ) 0 COLLECT_03 0 0
GENERATOR rocket2 = ( 70.0 , 249.4 ) 0 COLLECT_02 0 0

DECLARE_POLICELEVEL ( 6 )
OBJ_DATA sprayshop01 = ( 70.0 , 249.0 , 2.0 ) 0 car_shop 5 // green

COUNTER true = 1

LEVELSTART

SWITCH_GENERATOR ( pistol1 , ON )
SWITCH_GENERATOR ( pistol2 , ON )
SWITCH_GENERATOR ( pistol3 , ON )
SWITCH_GENERATOR ( dualpistol1 , ON )
SWITCH_GENERATOR ( dualpistol2 , ON )
SWITCH_GENERATOR ( dualpistol3 , ON )
SWITCH_GENERATOR ( dualpistol4 , ON )
SWITCH_GENERATOR ( mac1 , ON )
SWITCH_GENERATOR ( mac2 , ON )
SWITCH_GENERATOR ( mac3 , ON )
SWITCH_GENERATOR ( mac4 , ON )
SWITCH_GENERATOR ( silmac1 , ON )
SWITCH_GENERATOR ( silmac2 , ON )
SWITCH_GENERATOR ( shotgun1 , ON )
SWITCH_GENERATOR ( shotgun2 , ON )
SWITCH_GENERATOR ( shotgun3 , ON )
SWITCH_GENERATOR ( shotgun4 , ON )
SWITCH_GENERATOR ( flame , ON )
SWITCH_GENERATOR ( electro , ON )
SWITCH_GENERATOR ( bagoom1 , ON )
SWITCH_GENERATOR ( bagoom2 , ON )
SWITCH_GENERATOR ( grenades1 , ON )
SWITCH_GENERATOR ( grenades2 , ON )
SWITCH_GENERATOR ( grenades3 , ON )
SWITCH_GENERATOR ( molotovs , ON )

SWITCH_GENERATOR ( vehmines , ON )
SWITCH_GENERATOR ( vehoil , ON )
SWITCH_GENERATOR ( vehmac , ON )
SWITCH_GENERATOR ( vehbomb , ON )

SWITCH_GENERATOR ( fingers , ON )
SWITCH_GENERATOR ( fr , ON )
SWITCH_GENERATOR ( health , ON )
SWITCH_GENERATOR ( armor , ON )
//SWITCH_GENERATOR ( invul , ON )
//SWITCH_GENERATOR ( invis , ON )
SWITCH_GENERATOR ( rocketl , ON )
SWITCH_GENERATOR ( doubled , ON )
SWITCH_GENERATOR ( fastreload2 , ON )
SWITCH_GENERATOR ( electro2 , ON )
SWITCH_GENERATOR ( rocket2 , ON )
SWITCH_GENERATOR ( gang , ON )

PARKED_CAR_DATA tank01 = ( 73.0 , 249.4 ) 2 270 TANK

// brightness:
SET_AMBIENT_LEVEL (0.40, 0)

WHILE_EXEC ( true = 1 )

IF ( NOT ( CHECK_SCORE_GREATER ( p1, 4999 )))
  ADD_SCORE ( p1, 5000 )
ENDIF

IF ( NOT ( CHECK_SCORE_GREATER ( p2, 4999 )))
  ADD_SCORE ( p2, 5000 )
ENDIF

IF ( NOT ( CHECK_SCORE_GREATER ( p3, 4999 )))
  ADD_SCORE ( p3, 5000 )
ENDIF

IF ( NOT ( CHECK_SCORE_GREATER ( p4, 4999 )))
  ADD_SCORE ( p4, 5000 )
ENDIF

IF ( NOT ( CHECK_SCORE_GREATER ( p5, 4999 )))
  ADD_SCORE ( p5, 5000 )
ENDIF

IF ( NOT ( CHECK_SCORE_GREATER ( p6, 4999 )))
  ADD_SCORE ( p6, 5000 )
ENDIF

ENDWHILE

LEVELEND
