Jump to content
  • 0

problema compile


yonutzz

Question

salut am luat un gm si am facut niste schimbari iar cand dau sa compilez imi da erori. ma puteti ajuta sa le rezolv.va rog

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2003) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2350) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2351) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2352) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\yom_buttons.inc(99) : warning 219: local variable "Speed" shadows a variable at a preceding level

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_ZONE_NAME")

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(385) : error 025: function heading differs from prototype

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(975) : warning 201: redefinition of constant/macro (symbol "SAZONE_MAIN")

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(976) : error 021: symbol already defined: "SAZONE_NAME"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(982) : warning 227: more initiallers than enum fields

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(982) : error 008: must be a constant expression; assumed zero

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1339) : error 055: start of function body without function header

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1348) : error 010: invalid function or declaration

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1353) : error 020: invalid symbol name ""

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1709) : error 055: start of function body without function header

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1718) : error 010: invalid function or declaration

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1723) : error 021: symbol already defined: "GetPlayer2DZone"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(1765) : error 021: symbol already defined: "GetPlayer3DZone"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(6917) : error 017: undefined symbol "RemovePlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(12620) : error 021: symbol already defined: "strtok"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(12635) : error 047: array sizes do not match, or destination array is too small

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16979) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16980) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16981) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16982) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16983) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16984) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16985) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16986) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16987) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16988) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16989) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16990) : error 017: undefined symbol "SetPlayerAttachedObject"

C:\Documents and Settings\extasy\Desktop\nvlss\gamemodes\NVL.pwn(16991) : error 017: undefined symbol "SetPlayerAttachedObject"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

acestea sunt linile unde imi da eroare

385: forward IsPlayerInZone(playerid, zoneid);

976: SAZONE_NAME[38],

982: {"The Big Ear, Bone County",

1339:    {"Los Santos",

1348:      };

1353:  {"Aldea Malvada",

1709:    {"Los Santos",

1718:    };

1723:    {

1765:  {

6917:  RemovePlayerAttachedObject(playerid, SLOT);

12620:  {

12635:    return result;

16979:  case 0, 65, 74, 149, 208, 273:  SPAO{0.070000, 0.000000, 0.000000, 88.000000, 75.000000, 0.000000}

16980:    case 1..6, 8, 14, 16, 22, 27, 29, 33, 41..49, 82..84, 86, 87, 119, 289: SPAO{0.070000, 0.000000, 0.000000, 88.000000, 77.000000, 0.000000}

16981:  {0.090000, 0.019999, 0.000000, 88.000000, 90.000000, 0.000000}

macar cateva pe care le stiti sami spuneti precizez ca gm este novuslink . multumesc

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Guest farse

take brain. Ai uitat o } pe undeva,sau ai pus o { in plus.

C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2350) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2351) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\DOCUME~1\extasy\Desktop\nvlss\pawno\include\JunkBuster.inc(2352) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By St3f4n36
      Cum as putea fac urmatoarea chestie:
      Daca intr-un dialog imi apare ca primeste x bani daca apasa cazul 1 ( banii formati cu new money = 100 + rand(100); )
      si dupa sa imi trimita un mesaj tot cu aceasi suma de bani x. Trebuie salvata intr-o variabila sau cum?
    • By xVincenzo
      salut cum pot rezolva aceasta eroare? 
      error 033: array must be indexed (variable "gString")
       
      aceasta este linia de cod: gString = EOS; format(gString, sizeof(gString), "Ti-a fost setat Nitro Account la valoarea %d de catre administratorul %s.", valoare , GetName(playerid));
          SCM(id, COLOR_LIGHTBLUE, gString);
    • By CenzoR
      Salut! Am conectat gamemodeul, imi zice ca baza de date s-a conectat cu succes, daaaarrr... cand vreau sa intru pe el... spune ca parola este incorecta ca si cum ai avea baza de date neconectata, datele sunt puse in gamemode, am verificat totul, de la ce poate sa vina problema ma puteti ajuta?
    • By FlobertRO
      Buna , am si eu o problema . Mi-se restarteaza serverulul random . In server_log am gasit asta : 
      Stie cineva ce pot face  Va rog ❤️ . Multumesc frumos
       
       
      [23:17:26] [join] rezana has joined the server (1:---------------------) [23:17:26] [debug] Run time error 4: "Array index out of bounds" [23:17:26] [debug] Accessing element at index 1 past array upper bound 0 [23:17:26] [debug] AMX backtrace: [23:17:26] [debug] #0 00200b24 in ?? (... <1 argument>) at GM.pwn:8108 [23:17:26] [debug] #1 000aef80 in public MP_OPC (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_hooks/impl.inc:633 [23:17:26] [debug] #2 native CallLocalFunction () from samp03svr [23:17:26] [debug] #3 0000c77c in public SSCANF_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\mSelection.inc:432 [23:17:26] [debug] #4 00003210 in public Itter_OnPlayerConnect (playerid=1) at C:\Users\xda\Desktop\gamemode-impact\gamemode-rpg-impact\pawno\include\sscanf2.inc:236 [23:17:26] [debug] #5 00001684 in public OnPlayerConnect (playerid=1) at C:\Users\Florin\Dxda\gamemode-impact\gamemode-rpg-impact\pawno\include\YSI\y_iterate.inc:646
    • By Rby Robert
      cand dau /ad pe server scriu acolo /ad Recrutez in clanul .... nu apare ad pe server apare la staff Preview ad dar pe server la playerii nu apare
      Aceasta este comanda
      YCMD:ad(playerid, params[], help) {
          if(AdTimer[playerid] != 0) return SCM(playerid, COLOR_LGREEN, "Ai pus un anunt recent. Foloseste comanda /myad pentru a-l vedea.");
          new string[264],idx;
          if(!PlayerInfo[playerid][pPhone]) return SCM(playerid, COLOR_LGREEN, "Nu ai un telefon.");
          if(PlayerInfo[playerid][pMuted] == 1) {
              format(string, sizeof(string), "You can't talk right now! You are muted. (%d seconds)",PlayerInfo[playerid][pMuteTime]);
              SCM(playerid, COLOR_GREY, string);
              return true;
          }
          if(PlayerInfo[playerid][pLevel] < 5) return SCM(playerid, COLOR_GREY, "Ai nevoie de nivel 5 pentru a da un anunt!");
          new length = strlen(params);
          while ((idx < length) && (params[idx] <= ' ')) idx++;
          new offset = idx, result[264];
          while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) {
              result[idx - offset] = params[idx];
              idx++;
          }
          result[idx - offset] = EOS;
          new totalads = TotalAds()+1;
          if(PlayerToPoint(10, playerid, BizzInfo[11][bEntranceX], BizzInfo[11][bEntranceY], BizzInfo[11][bEntranceZ])) {
              if(!strlen(result)) return SCM(playerid, COLOR_GREY, "Usage:{FFFFFF}/ad <Text>");
              if(FaceReclama(result)) return Reclama(playerid, result);
              new payout = BizzInfo[14][bFee];
              if(PlayerMoney(playerid, payout)) {
                  format(string, sizeof(string), "* Ai folosit %d caractere si anuntul costa $%s, Nu ai banii necesari", offset, FormatNumbers(payout));
                  SCM(playerid, COLOR_WHITE, string);
                  return true;
              }
              GivePlayerCash(playerid, 0, payout);
              format(string, sizeof(string), "~r~Ai platit $%d~n~~w~Mesajul contine: %d caractere", payout, idx);
              GameTextForPlayer(playerid, string, 5000, 5);
              format(AdText[playerid], 256, result);
              format(string, sizeof(string), "[PREV AD] %s ({FFFFFF}%d{00D900}): %s", GetName(playerid), playerid, result);
              SendStaffMessage(0xDE1414FF, string);
              AdTimer[playerid] = totalads*60;
              new timer;        
              timer = SetTimerEx("Advertisment", totalads*60000, 0, "d", playerid);
              SetPVarInt(playerid, "AdTimer", timer); 
              format(string, sizeof(string), "Anuntul tau va fi afisat in %d minute (%d secunde).", AdTimer[playerid]/60, AdTimer[playerid]);
              SCM(playerid, -1, string);
              BizzInfo[14][bBalance] += payout;
              new str[128];
              mysql_format(SQL,str,128,"UPDATE bizz SET `Till`='%d',`Products`='%d' WHERE `ID`='1'",BizzInfo[14][bBalance],BizzInfo[14][bProducts]);
              mysql_tquery(SQL,str, "", "");
          }
          else SCM(playerid, -1, "Nu esti la CNN.");
          return true;
      }
      function Advertisment(playerid) {
          if(IsPlayerConnected(playerid) && AdTimer[playerid] != 0) {
              new string[1024];
              format(string, sizeof(string), "Ad by %s (phone: {FFFFFF}%d{00D900}): %s",GetName(playerid),PlayerInfo[playerid][pPhone],AdText[playerid]);
              SendMessage(0x00D900FF, string);
              AdTimer[playerid] = 0;
          }
          return true;
      }
      function TotalAds() {
          new x;
          foreach(Player, i) {
              if(IsPlayerConnected(i) && AdTimer[i] != 0) x++;
          }
          return x;
      }
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.