27.07.2014, 04:07
PHP код:
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 012: invalid function call, not a valid address
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : warning 215: expression has no effect
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 001: expected token: ";", but found ")"
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : error 029: invalid expression, assumed zero
C:\Users\JUSTIN\Documents\GTAhh\iTDs\gamemodes\zma5.pwn(421) : fatal error 107: too many error messages on one line
here is the line 421:
PHP код:
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);
}