13.06.2014, 19:16
How fix?
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7231/5) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7231) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7240) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 017: undefined symbol "MafiaBizzStopFlashForAll"
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : warning 215: expression has no effect
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 001: expected token: ";", but found "]"
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 029: invalid expression, assumed zero
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : fatal error 107: too many error messages on one line
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7231/5) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7231) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7240) : warning 213: tag mismatch
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 017: undefined symbol "MafiaBizzStopFlashForAll"
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : warning 215: expression has no effect
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 001: expected token: ";", but found "]"
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : error 029: invalid expression, assumed zero
C:\Users\Juris\Desktop\Darbiba\Samp 04.06.2014\gamemodes\newmode.pwn(7241) : fatal error 107: too many error messages on one line
Код:
- stock MzCheck()
- {
- for(new i =0;i<sizeof(MBInfo);i++)
- {
- if(BizzOnBattle[i] == 1 && MBSafeTime[i] == 0)
- {
- ZoneTimer[i] -=5;
- new faction;
- new zl;
- zl = i;
- if(ZoneTimer[i] <=0)
- {
- SendFMes(i,COLOR_RED,"[F] Laiks ir beidzies!");
- BizzOnBattle[i] =0;
- MafiaBizzStopFlashForAll(MZInfo[i][id]);
- SaveMB(zl);
- }
- for(new x =0;x<MAX_PLAYERS;x++)
- {
- if(PlayerToKvadrat(x,MBInfo[i][mCoord][0], MBInfo[i][mCoord][1],MBInfo[i][mCoord][2],MBInfo[i][mCoord][3])&&IsInAllowed(x))
- {
- if(PlayerInfo[x][pLeader] !=0) {faction = PlayerInfo[x][pLeader];}
- else { faction = PlayerInfo[x][pMember];}
- OnBizz[i][faction] ++;
- }
- }
- new asd;
- for(new x =0;x<20;x++)
- {
- if(OnBizz[i][x] > 0 && IsInAllowedF(x)) asd ++;
- }
- if(asd == 1)
- {
- for(new x =0;x<20;x++)
- {
- if(OnBizz[i][x] > 0)
- {
- new zx;
- zx = x;
- if(MBInfo[i][mFrak] == x) {format(string,90,"[F] %s Mafija aizstaveja savu territoriju!",GetMafiaName(zx)); }
- else
- {format(string,90,"[F] %s Mafija vinneja un ieguva jaunu Biznesu!",GetMafiaName(zx)); }
- for(new ads = 8; ads <= 12;ads++) SendFMes(ads, COLOR_LIGHTRED,string);
- BizzOnBattle[zl] =0;
- MBInfo[zl][gNapad] = 0;
- MBInfo[zl][gFrak] = zx;
- MafiaBizzStopFlashForAll(MBInfo[zl][id]);
- MafiaBizzHideForAll(MBInfo[zl][id]);
- MafiaZoneShowForAll(MZInfo[zl][id],GetMafiaBizzColor(zl));
- SaveBZ(zl);
- break;
- }
- }
- }
- }
- }
- for(new i =0;i<120;i++)
- {
- for(new z = 0;z<20;z++)
- {
- OnBizz[i][z] =0;
- }
- }
- return 1;
- }