// Zombies GTAMP.com

PLAYER_PED p1 = ( 18.6 , 21.6 , 5.0 ) 11 270
PLAYER_PED p2 = ( 18.6 , 19.6 , 5.0 ) 11 270
PLAYER_PED p3 = ( 18.6 , 22.6 , 5.0 ) 11 270
PLAYER_PED p4 = ( 18.6 , 24.6 , 5.0 ) 11 270
PLAYER_PED p5 = ( 18.6 , 25.6 , 5.0 ) 11 270
PLAYER_PED p6 = ( 18.6 , 26.6 , 5.0 ) 11 270

SET_GANG_INFO ( redngang , 24 , NO_WEAPON , NO_WEAPON , NO_WEAPON , 1 , 1.0 , 1.0 , 2.0 , 0 , PICKUP , 8 )

//MAP_ZONE name = ( cardensity , goodcarratio , bad car ratio , police car ratio , ped density , mugger ratio , car thief ratio , elvis ratio , gang char ratio , police ped ratio , gang car ratio)

MAP_ZONE cityinfo = ( 1000 , 1, 0, 0, 1000 , 0 , 0 , 0, 1000 , 0 , 0 )

CAR_DATA p1tank  =   ( 18.0 , 21.5 ) 0 0 tank
CAR_DATA p2tank  =   ( 17.0 , 21.5 ) 0 0 tank

PARKED_CAR_DATA trailer = (23.0,20.0) 19 90 TRUKTRNS

COUNTER loop = 1

LEVELSTART

CHANGE_GANG_CHAR_RESPECT  ( redngang  ,  p1 , -5 )

IF (CHECK_CHARACTER_HEALTH(p2, 0))
CHANGE_GANG_CHAR_RESPECT  ( redngang  ,  p2 , -5 )
ENDIF

DISPLAY_BRIEF ( 2219 )

WHILE ( loop = 1 )
SET_CHAR_GRAPHIC_TYPE ( p1, DUMMY_GRAPHIC , 24)
SET_CHAR_GRAPHIC_TYPE ( p2, DUMMY_GRAPHIC , 24)
GIVE_WEAPON ( p1tank, CAR_MACHINE_GUN, 99)
GIVE_WEAPON ( p1tank, CAR_MINE, 99)
GIVE_WEAPON ( p2tank, CAR_MACHINE_GUN, 99)
GIVE_WEAPON ( p2tank, CAR_MINE, 99)
GIVE_WEAPON ( p1 , rocket_launcher, 99 )
GIVE_WEAPON ( p1 , flame_thrower, 99 )
GIVE_WEAPON ( p1 , electro_gun, 99 )
GIVE_WEAPON ( p1 , silenced_machine_gun, 99 )
GIVE_WEAPON ( p1 , dual_pistol, 99 )
GIVE_WEAPON ( p1 , shotgun, 99 )
GIVE_WEAPON ( p1 , molotov, 99 )
GIVE_WEAPON ( p1 , grenade, 99 )
GIVE_WEAPON ( p1 , pistol, 99 )

IF (CHECK_CHARACTER_HEALTH(p2, 0))
GIVE_WEAPON ( p2 , rocket_launcher, 99 )
GIVE_WEAPON ( p2 , flame_thrower, 99 )
GIVE_WEAPON ( p2 , electro_gun, 99 )
GIVE_WEAPON ( p2 , silenced_machine_gun, 99 )
GIVE_WEAPON ( p2 , dual_pistol, 99 )
GIVE_WEAPON ( p2 , shotgun, 99 )
GIVE_WEAPON ( p2 , molotov, 99 )
GIVE_WEAPON ( p2 , grenade, 99 )
GIVE_WEAPON ( p2 , pistol, 99 )
ENDIF

// Respawning vehicle:

IF (IS_CAR_WRECKED(p2tank))
			 PUT_CAR_ON_TRAILER ( p2tank, trailer )
    DELETE_ITEM (p2tank)
    p2tank = CREATE_CAR (18.5,19.5,5.0) -1 000 TANK END
    GIVE_WEAPON (p2tank, CAR_MACHINE_GUN, 99)
    GIVE_WEAPON (p2tank, CAR_MINE, 99)
ENDIF


IF (IS_CAR_WRECKED(p1tank))
			 PUT_CAR_ON_TRAILER ( p1tank, trailer )
    DELETE_ITEM (p1tank)
    p1tank = CREATE_CAR (18.5,21.5,5.0) -1 000 TANK END
    GIVE_WEAPON (p1tank, CAR_MACHINE_GUN, 99)
    GIVE_WEAPON (p1tank, CAR_MINE, 99)
ENDIF

ENDWHILE

LEVELEND
