//{ //HEADER
// Rocket and Flamer Arena
// script and map by elypter
// for details look at bc_cop_readme.txt

//
//}

//{ //Declares

PLAYER_PED p1 = (132.0, 112.0, 2.0) 9 270
PLAYER_PED p2 = (134.0, 112.0, 2.0) 9 90
PLAYER_PED p3 = (133.5, 111.0, 2.0) 9 135
PLAYER_PED p4 = (132.5, 113.0, 2.0) 9 315
PLAYER_PED p5 = (132.5, 111.0, 2.0) 9 225
PLAYER_PED p6 = (133.5, 113.0, 2.0) 9 45

OBJ_DATA name = (133.0, 112.0, 2.0) 0 FOOTY

COUNTER mainloop = 1

//}

LEVELSTART

while_exec (mainloop = 1)

IF (CHECK_CHARACTER_HEALTH(p1, 0))
	GIVE_WEAPON (  p1 , rocket_launcher, 99 )
	GIVE_WEAPON (  p1 , flame_thrower, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p2, 0))
	GIVE_WEAPON (  p2 , rocket_launcher, 99 )
	GIVE_WEAPON (  p2 , flame_thrower, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p3, 0))
	GIVE_WEAPON (  p3 , rocket_launcher, 99 )
	GIVE_WEAPON (  p3 , flame_thrower, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p4, 0))
	GIVE_WEAPON (  p4 , rocket_launcher, 99 )
	GIVE_WEAPON (  p4 , flame_thrower, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p5, 0))
	GIVE_WEAPON (  p5 , rocket_launcher, 99 )
	GIVE_WEAPON (  p5 , flame_thrower, 99 )
ENDIF

IF (CHECK_CHARACTER_HEALTH(p6, 0))
	GIVE_WEAPON (  p6 , rocket_launcher, 99 )
	GIVE_WEAPON (  p6 , flame_thrower, 99 )
ENDIF

ENDWHILE

LEVELEND
