Zombie Apocalypse Need help
#3

Sorry, the whole thing
Код:
function StartMap()
{
    ClearChat();
    foreach(Player,i)
	{
	    SetCameraBehindPlayer(i);
	    ClearAnimations(i);
		HumanSetup(i);
		SpawnPlayer(i);
		CurePlayer(i);
		SetPlayerDrunkLevel(i,0);
		DisablePlayerCheckpoint(i);
		pInfo[i][Boxes] = 2;
		pInfo[i][BoxesAdvanced] = 10;
		pInfo[i][SkinChanges] = 2;
		pInfo[i][ArmourChanges] = 2;
		pInfo[i][pVipBoxes] = 35;
		pInfo[i][pLadders] = 2;
		pInfo[i][pFakeKills] = 0;
		pInfo[i][pAmmoBoxes] = 10;
		pInfo[i][C4] = 4;
		pInfo[i][pTrapMasterTrap] = 1;
		pInfo[i][pScientistCure] = 1;
		pInfo[i][pDoctorShield] = 1;
		pInfo[i][pMapsPlayed]++;
		TextDrawHideForPlayer(i, ServerIntroOne[i]);
		TextDrawHideForPlayer(i, ServerIntroTwo[i]);
		DestroyPickup(meatDrops[i]);
		DestroyPickup(ammoDrops[i]);
		DestroyObject(DocShield);
		DestroyObject(Trap);
		TogglePlayerControllable(i,1);
	}

	time = MAX_MAPTIME;

	SetWeather(Map[Weather]);
	SetWorldTime(Map[Time]);
	UpdateMapName();
	SendClientMessageToAll(-1,""COL_LGREEN" [Chat]"COL_WHITE" Chatas Iљvalytas "COL_YELLOW"[Prieћastis: Kitas roundas]");
    SetTimer("RandomZombie",1000,false);
    gateobj = CreateObject(Map[GateID],Map[GateX],Map[GateY],Map[GateZ],Map[GaterX],Map[GaterY],Map[GaterZ],500.0);
	mapvar = SetTimer("OnMapUpdate",MAX_MAPUPDATE_TIME,true);
	balvar = SetTimer("OnMapBalance",MAX_BALANCERUPDATE_TIME,true);
	return 1;
}
Reply


Messages In This Thread
Zombie Apocalypse Need help - by SkiT'aZ - 25.01.2015, 15:16
Re: Zombie Apocalypse Need help - by Smileys - 25.01.2015, 15:25
Re: Zombie Apocalypse Need help - by SkiT'aZ - 25.01.2015, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)