23.12.2014, 02:36
Код:
C:\Users\HOME\Desktop\reverse.pwn(8479) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 12188 bytes Code size: 1624468 bytes Data size: 3461352 bytes Stack/heap size: 16384 bytes; estimated max. usage=4828 cells (19312 bytes) Total requirements: 5114392 bytes 1 Warning.
8479. MafiaInfo[zl][mNapad] = 0;
8480. MafiaInfo[zl][mFraction] = zx;
pawn Код:
stock MzCheck()
{
for(new i =0;i<sizeof(MafiaInfo);i++)
{
if(ZoneOnBattlem[i] == 1 && GZSafeTime[i] == 0)
{
ZoneTimer[i] -=5;
new faction;
new zl;
zl = i;
if(ZoneTimer[i] <=0)
{
SendFMes(i,COLOR_RED,"[F] Laiks ir beidzies!");
ZoneOnBattle[i] =0;
GangZoneStopFlashForAll(MafiaInfo[i][id]);
SaveMZ(zl);
}
for(new x =0;x<MAX_PLAYERS;x++)
{
if(PlayerToKvadrat(x,MafiaInfo[i][mCoord][0], MafiaInfo[i][mCoord][1],MafiaInfo[i][mCoord][2],MafiaInfo[i][mCoord][3])&&IsInAllowedm(x))
{
if(PlayerInfo[x][pLeader] !=0) {faction = PlayerInfo[x][pLeader];}
else { faction = PlayerInfo[x][pMember];}
OnZONE[i][faction] ++;
}
}
new asd;
for(new x =0;x<20;x++)
{
if(OnZONE[i][x] > 0 && IsInAllowedFm(x)) asd ++;
}
if(asd == 1)
{
for(new x =0;x<20;x++)
{
if(OnZONE[i][x] > 0)
{
new zx;
zx = x;
if(MafiaInfo[i][mFraction] == x) {format(string,90,"[F] %s aizsargaja savu biznesu!",GetMafiaName(MafiaInfo[zl][mFraction])); }
else
{
format(string,90,"[F] %s uzvar zonas iegushanu!!",GetMafiaName(MafiaInfo[zl][mFraction])); }
for(new ads = 8; ads <= 12;ads++) SendFMes(ads, COLOR_LIGHTRED,string);
ZoneOnBattle[zl] =0;
MafiaInfo[zl][mNapad] = 0;
MafiaInfo[zl][mFraction] = zx;
GangZoneStopFlashForAll(MafiaInfo[zl][id]);
GangZoneHideForAll(MafiaInfo[zl][id]);
GangZoneShowForAll(MafiaInfo[zl][id],GetMafiaZoneColor(zl));
SaveMZ(zl);
break;
}
}
}
}
}
for(new i =0;i<120;i++)
{
for(new z = 0;z<20;z++)
{
OnZONE[i][z] =0;
}
}
return 1;
}
+REP