PLAYER_PED Player1 = ( 127.5 , 127.5 , 6.0 ) 6 180
PLAYER_PED Player2 = ( 127.5 , 128.5 , 6.0 ) 7 270
PLAYER_PED Player3 = ( 127.5 , 129.5 , 6.0 ) 8 0
PLAYER_PED Player4 = ( 129.5 , 127.5 , 6.0 ) 9 180
PLAYER_PED Player5 = ( 129.5 , 128.5 , 6.0 ) 10 90
PLAYER_PED Player6 = ( 129.5 , 129.5 , 6.0 ) 11 0

GENERATOR Gen1 = ( 128.5 , 127.5 , 6.0 ) 0 COLLECT_30 0 0 1
GENERATOR Gen2 = ( 128.5 , 129.5 , 6.0 ) 0 COLLECT_31 0 0 1
GENERATOR Gen3 = ( 124.5 , 121.5 , 7.0 ) 0 COLLECT_01 1800 1800 50
GENERATOR Gen4 = ( 124.5 , 135.5 , 7.0 ) 0 COLLECT_02 1800 1800 50
GENERATOR Gen5 = ( 128.5 , 121.5 , 7.0 ) 0 COLLECT_03 1800 1800 50
GENERATOR Gen6 = ( 128.5 , 135.5 , 7.0 ) 0 COLLECT_04 1800 1800 50
GENERATOR Gen7 = ( 132.5 , 121.5 , 7.0 ) 0 COLLECT_06 1800 1800 50
GENERATOR Gen8 = ( 132.5 , 135.5 , 7.0 ) 0 COLLECT_08 1800 1800 50

CHAR_DATA Bot1
CHAR_DATA Bot2
CHAR_DATA Bot3
CHAR_DATA Bot4
CHAR_DATA Bot5
CHAR_DATA Bot6

COUNTER Loop = 1
COUNTER Target = 1

DECLARE_POLICELEVEL ( 0 )

LEVELSTART

SWITCH_GENERATOR ( Gen1 , ON )
SWITCH_GENERATOR ( Gen2 , ON )
SWITCH_GENERATOR ( Gen3 , ON )
SWITCH_GENERATOR ( Gen4 , ON )
SWITCH_GENERATOR ( Gen5 , ON )
SWITCH_GENERATOR ( Gen6 , ON )
SWITCH_GENERATOR ( Gen7 , ON )
SWITCH_GENERATOR ( Gen8 , ON )

Bot1 = CREATE_CHAR ( 125.5 , 124.5 , 7.0 ) 12 60 ELVIS END
SET_CHAR_THREAT_SEARCH ( Bot1 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot1 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot1 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot1 , LOONY )
GIVE_WEAPON ( Bot1 , SHOTGUN )

Bot2 = CREATE_CHAR ( 128.5 , 123.5 , 7.0 ) 13 0 PSYCHO END
SET_CHAR_THREAT_SEARCH ( Bot2 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot2 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot2 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot2 , LOONY )
GIVE_WEAPON ( Bot2 , ROCKET_LAUNCHER )

Bot3 = CREATE_CHAR ( 131.5 , 124.5 , 7.0 ) 14 300 FIREMAN END
SET_CHAR_THREAT_SEARCH ( Bot3 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot3 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot3 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot3 , LOONY )
GIVE_WEAPON ( Bot3 , FLAME_THROWER )

Bot4 = CREATE_CHAR ( 131.5 , 132.5 , 7.0 ) 15 240 CARTHIEF END
SET_CHAR_THREAT_SEARCH ( Bot4 , AREA_PLAYER_ONLY )
SET_CHAR_GRAPHIC_TYPE ( Bot4 , DUMMY_GRAPHIC , 15 )
SET_CHAR_THREAT_REACTION ( Bot4 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot4 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot4 , LOONY )
GIVE_WEAPON ( Bot4 , MACHINE_GUN )

Bot5 = CREATE_CHAR ( 128.5 , 133.5 , 7.0 ) 16 180 DUMMY END
SET_CHAR_THREAT_SEARCH ( Bot5 , AREA_PLAYER_ONLY )
SET_CHAR_GRAPHIC_TYPE ( Bot5 , DUMMY_GRAPHIC , 16 )
SET_CHAR_THREAT_REACTION ( Bot5 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot5 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot5 , LOONY )
GIVE_WEAPON ( Bot5 , FLAME_THROWER )

Bot6 = CREATE_CHAR ( 125.5 , 132.5 , 7.0 ) 17 120 MUGGER END
SET_CHAR_THREAT_SEARCH ( Bot6 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot6 , REACT_AS_NORMAL )
SET_CHAR_GRAPHIC_TYPE ( Bot6 , DUMMY_GRAPHIC , 17 )
SET_CHAR_SHOOTING_SKILL ( Bot6 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot6 , LOONY )
GIVE_WEAPON ( Bot6 , SILENCED_MACHINE_GUN )

WHILE_EXEC ( Loop = 1 )

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot1 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot1 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot2 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot2 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot3 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot3 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot4 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot4 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot5 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot5 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( ( IS_CHAR_OBJECTIVE_FAILED ( Bot6 ) ) OR ( IS_CHAR_OBJECTIVE_PASSED ( Bot6 ) ) )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player1 ) 
SET Target = 1
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player2 ) 
SET Target = 3
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player3 ) 
SET Target = 4
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player4 ) 
SET Target = 5
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player5 ) 
SET Target = 6
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player6 ) 
SET Target = 1
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot1 ) )
DELETE_ITEM ( Bot1 )
Bot1 = CREATE_CHAR ( 125.5 , 124.5 , 7.0 ) 12 60 ELVIS END
SET_CHAR_THREAT_SEARCH ( Bot1 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot1 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot1 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot1 , LOONY )
GIVE_WEAPON ( Bot1 , SHOTGUN )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot1 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot2 ) )
DELETE_ITEM ( Bot2 )
Bot2 = CREATE_CHAR ( 128.5 , 123.5 , 7.0 ) 13 0 PSYCHO END
SET_CHAR_THREAT_SEARCH ( Bot2 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot2 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot2 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot2 , LOONY )
GIVE_WEAPON ( Bot2 , ROCKET_LAUNCHER )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot2 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot3 ) )
DELETE_ITEM ( Bot3 )
Bot3 = CREATE_CHAR ( 131.5 , 124.5 , 7.0 ) 14 300 FIREMAN END
SET_CHAR_THREAT_SEARCH ( Bot3 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot3 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot3 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot3 , LOONY )
GIVE_WEAPON ( Bot3 , FLAME_THROWER )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot3 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot4 ) )
DELETE_ITEM ( Bot4 )
Bot4 = CREATE_CHAR ( 131.5 , 132.5 , 7.0 ) 15 240 CARTHIEF END
SET_CHAR_THREAT_SEARCH ( Bot4 , AREA_PLAYER_ONLY )
SET_CHAR_GRAPHIC_TYPE ( Bot4 , DUMMY_GRAPHIC , 15 )
SET_CHAR_THREAT_REACTION ( Bot4 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot4 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot4 , LOONY )
GIVE_WEAPON ( Bot4 , MACHINE_GUN )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot4 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot5 ) )
DELETE_ITEM ( Bot5 )
Bot5 = CREATE_CHAR ( 128.5 , 133.5 , 7.0 ) 16 180 DUMMY END
SET_CHAR_THREAT_SEARCH ( Bot5 , AREA_PLAYER_ONLY )
SET_CHAR_GRAPHIC_TYPE ( Bot5 , DUMMY_GRAPHIC , 16 )
SET_CHAR_THREAT_REACTION ( Bot5 , REACT_AS_NORMAL )
SET_CHAR_SHOOTING_SKILL ( Bot5 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot5 , LOONY )
GIVE_WEAPON ( Bot5 , FLAME_THROWER )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot5 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

IF ( HAS_CHARACTER_DIED ( Bot6 ) )
DELETE_ITEM ( Bot6 )
Bot6 = CREATE_CHAR ( 125.5 , 132.5 , 7.0 ) 17 120 MUGGER END
SET_CHAR_THREAT_SEARCH ( Bot6 , AREA_PLAYER_ONLY )
SET_CHAR_THREAT_REACTION ( Bot6 , REACT_AS_NORMAL )
SET_CHAR_GRAPHIC_TYPE ( Bot6 , DUMMY_GRAPHIC , 17 )
SET_CHAR_SHOOTING_SKILL ( Bot6 , CRACK_SHOT )
SET_CHAR_BRAVERY_LEVEL ( Bot6 , LOONY )
GIVE_WEAPON ( Bot6 , SILENCED_MACHINE_GUN )
IF ( Target = 1 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player1 ) 
ENDIF
IF ( Target = 2 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player2 ) 
ENDIF
IF ( Target = 3 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player3 ) 
ENDIF
IF ( Target = 4 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player4 ) 
ENDIF
IF ( Target = 5 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player5 ) 
ENDIF
IF ( Target = 6 )
SET_CHAR_OBJECTIVE ( Bot6 , KILL_CHAR_ANY_MEANS , Player6 ) 
ENDIF
ENDIF

ENDWHILE

LEVELEND