How fix???
#1

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




Код:
  1. stock MzCheck()
  2. {
  3. for(new i =0;i<sizeof(MBInfo);i++)
  4. {
  5. if(BizzOnBattle[i] == 1 && MBSafeTime[i] == 0)
  6. {
  7. ZoneTimer[i] -=5;
  8. new faction;
  9. new zl;
  10. zl = i;
  11. if(ZoneTimer[i] <=0)
  12. {
  13. SendFMes(i,COLOR_RED,"[F] Laiks ir beidzies!");
  14. BizzOnBattle[i] =0;
  15. MafiaBizzStopFlashForAll(MZInfo[i][id]);
  16. SaveMB(zl);
  17. }
  18. for(new x =0;x<MAX_PLAYERS;x++)
  19. {
  20. if(PlayerToKvadrat(x,MBInfo[i][mCoord][0], MBInfo[i][mCoord][1],MBInfo[i][mCoord][2],MBInfo[i][mCoord][3])&&IsInAllowed(x))
  21. {
  22. if(PlayerInfo[x][pLeader] !=0) {faction = PlayerInfo[x][pLeader];}
  23. else { faction = PlayerInfo[x][pMember];}
  24. OnBizz[i][faction] ++;
  25. }
  26. }
  27. new asd;
  28. for(new x =0;x<20;x++)
  29. {
  30. if(OnBizz[i][x] > 0 && IsInAllowedF(x)) asd ++;
  31. }
  32. if(asd == 1)
  33. {
  34. for(new x =0;x<20;x++)
  35. {
  36. if(OnBizz[i][x] > 0)
  37. {
  38. new zx;
  39. zx = x;
  40. if(MBInfo[i][mFrak] == x) {format(string,90,"[F] %s Mafija aizstaveja savu territoriju!",GetMafiaName(zx)); }
  41. else
  42. {format(string,90,"[F] %s Mafija vinneja un ieguva jaunu Biznesu!",GetMafiaName(zx)); }
  43. for(new ads = 8; ads <= 12;ads++) SendFMes(ads, COLOR_LIGHTRED,string);
  44. BizzOnBattle[zl] =0;
  45. MBInfo[zl][gNapad] = 0;
  46. MBInfo[zl][gFrak] = zx;
  47. MafiaBizzStopFlashForAll(MBInfo[zl][id]);
  48. MafiaBizzHideForAll(MBInfo[zl][id]);
  49. MafiaZoneShowForAll(MZInfo[zl][id],GetMafiaBizzColor(zl));
  50. SaveBZ(zl);
  51. break;
  52. }
  53. }
  54. }
  55. }
  56. }
  57. for(new i =0;i<120;i++)
  58. {
  59. for(new z = 0;z<20;z++)
  60. {
  61. OnBizz[i][z] =0;
  62. }
  63. }
  64. return 1;
  65. }
Reply
#2

Buddy, this is the wrong section.
You can get help in the "Scripting Help" Topic.
Reply
#3

Quote:
Originally Posted by VladimirMark
Посмотреть сообщение
Buddy, this is the wrong section.
You can get help in the "Scripting Help" Topic.

thank you!
Reply
#4

No problem, buddy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)