20.07.2014, 09:19
As error in:
Line 418 and 423 is included
Line 538 and 543 is included
And Line 606:
Quote:
Код:
C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(538) : warning 219: local variable "x" shadows a variable at a preceding level C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(538) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(543) : warning 219: local variable "x" shadows a variable at a preceding level C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_va/impl.inc(543) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\JUSTIN\Documents\GTAhh\server\pawno\include\YSI\y_inline.inc(606) : warning 219: local variable "y" shadows a variable at a preceding level C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : error 012: invalid function call, not a valid address C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : error 029: invalid expression, assumed zero C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(418) : warning 215: expression has no effect C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 012: invalid function call, not a valid address C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : warning 215: expression has no effect C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 001: expected token: ";", but found ")" C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : error 029: invalid expression, assumed zero C:\Users\JUSTIN\Desktop\Linux Version [0.3z]\gamemodes\zma5.pwn(423) : fatal error 107: too many error messages on one line |
PHP код:
(404) ClearChat();
(405)foreach(Player,i)
(406) {
(407) SetCameraBehindPlayer(i);
(408) ClearAnimations(i);
(409) HumanSetup(i);
(410) SpawnPlayer(i);
(411) CurePlayer(i);
(412) SetPlayerDrunkLevel(i,0);
(413) DisablePlayerCheckpoint(i);
(414) pInfo[i][Boxes] = 2;
(415) pInfo[i][BoxesAdvanced] = 10;
(416) pInfo[i][SkinChanges] = 2;
(417) pInfo[i][ArmourChanges] = 2;
(418) pInfo[i][pVipBoxes] = 35;
(419) pInfo[i][pLadders] = 2;
(420) pInfo[i][pFakeKills] = 0;
(421) pInfo[i][pAmmoBoxes] = 10;
(422) pInfo[i][C4] = 4;
(423) pInfo[i][pTrapMasterTrap] = 1;
(424) pInfo[i][pScientistCure] = 1;
(425) pInfo[i][pDoctorShield] = 1;
(426) pInfo[i][pMapsPlayed]++;
(427) TextDrawHideForPlayer(i, ServerIntroOne[i]);
(428) TextDrawHideForPlayer(i, ServerIntroTwo[i]);
(429) DestroyPickup(meatDrops[i]);
(430) DestroyPickup(ammoDrops[i]);
(431) DestroyObject(DocShield);
(432) DestroyObject(Trap);
(433) TogglePlayerControllable(i,1);
}
PHP код:
new string[256];
if(Map[EvacType] == 1)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,-1408.2051,-970.8841,198.9738);
format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to evacuation point and has received 1 coin!",PlayerName(playerid));
SendClientMessageToAll(-1,string);
DisablePlayerCheckpoint(playerid);
CurePlayer(playerid);
GivePlayerXP(playerid,50);
pInfo[playerid][pEvac]++;
pInfo[playerid][pCoins]++;
(538) SetPlayerColor(playerid,COLOR_YELLOW);
}
if(Map[EvacType] == 2)
{
(543) SetPlayerPos(playerid,3024.4983,447.9744,14.7813);
SetPlayerInterior(playerid,0);
format(string,sizeof(string), ""chat""COL_LIGHTBLUE" %s made it to the water evacuation point and has received 1 coin!",PlayerName(playerid));
SendClientMessageToAll(-1,string);
DisablePlayerCheckpoint(playerid);
CurePlayer(playerid);
GivePlayerXP(playerid,50);
pInfo[playerid][pEvac]++;
pInfo[playerid][pCoins]++;
SetPlayerColor(playerid,COLOR_YELLOW);
}
PHP код:
if(team[playerid] == TEAM_HUMAN)
{
if(pInfo[playerid][pHumanClass] == ENGINEER || pInfo[playerid][pHumanClass] == ADVANCEDENGINEER || pInfo[playerid][pHumanClass] == VIPENGINEER || pInfo[playerid][pHumanClass] == E_ENGINEER || pInfo[playerid][pHumanClass] == TRAPMASTER || pInfo[playerid][pHumanClass] == BOMBER)
{
switch(pInfo[playerid][pHumanClass])
{
case ENGINEER: pInfo[playerid][Boxes]++,GameTextForPlayer(playerid,"~g~Found~w~: 1 Box",4000,5),DestroyPickup(meatDrops[playerid]);
case ADVANCEDENGINEER: pInfo[playerid][BoxesAdvanced] += 2,GameTextForPlayer(playerid,"~g~Found~w~: 2 Boxes",4000,5),DestroyPickup(meatDrops[playerid]);
(606) case VIPENGINEER: pInfo[playerid][pVipBoxes] += 3,GameTextForPlayer(playerid,"~g~Found~w~: 3 Boxes",4000,5),DestroyPickup(meatDrops[playerid]);
case E_ENGINEER: pInfo[playerid][pLadders] += 1,GameTextForPlayer(playerid,"~g~Found~w~: 1 Ladders",4000,5),DestroyPickup(meatDrops[playerid]);
case TRAPMASTER: pInfo[playerid][pTrapMasterTrap] += 1,GameTextForPlayer(playerid,"~g~Found~w~: 1 trap",4000,5),DestroyPickup(meatDrops[playerid]);
case BOMBER: pInfo[playerid][pXP] += 10,GameTextForPlayer(playerid,"~g~Found~w~: 10 xp",4000,5),DestroyPickup(meatDrops[playerid]);
}
}