20.07.2014, 07:13
the line is from 404 to 531 and some errors is in there.
its already posted in main topic.
Код:
{ 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); } gTime = MAX_MAPTIME; SetWeather(Map[Weather]); SetWorldTime(Map[Time]); UpdateMapName(); SendClientMessageToAll(-1,""chat""COL_LGREEN" [Clear]"COL_WHITE" Chat Cleared "COL_YELLOW"[Reason: Next Map]"); SendClientMessageToAll(-1,""chat""COL_RED" [Info]"COL_WHITE" XGreen is KING!"); 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; }