PARTNERI:

* Marketing


-UPOZORENJE-

Samo registrovani članovi mogu da vide/koriste forum u celini.
Prijavite se ili registrujte nalog na Balkan SA-MP forumu.


Autor Tema: [Rešeno] Error  (Pročitano 229 puta)

0 članova i 1 gost pregledaju ovu temu.

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Error
« poslato: Jul 15, 2017, 22:13:04 posle podne »
Skripta koju koristim: BE:RP/BS:RP
Detaljan opis problema: Pa ovako nesto sam edit u modu i izbacuje mi ovo, malo menjao cene oko nekih sitnica, znam da nisam nista pojebao i to...
Dio skripte:
Pawno Code: [Izaberi]
C:\Users\Adis\Desktop\Bloods Angels Roleplay\pawno\include\streamer.inc(411) : error 017: undefined symbol "Streamer_OnPlayerEnterCP"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\pawno\include\streamer.inc(431) : error 017: undefined symbol "Streamer_OnPlayerLeaveCP"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\pawno\include\streamer.inc(451) : error 017: undefined symbol "Streamer_OnPlayerEnterRaceCP"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\pawno\include\streamer.inc(471) : error 017: undefined symbol "Streamer_OnPlayerLeaveRaceCP"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\pawno\include\streamer.inc(494) : error 017: undefined symbol "Streamer_OnPlayerWeaponShot"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28865) : error 017: undefined symbol "VoziloJeAvion"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28866) : error 017: undefined symbol "VoziloJeMotor"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28867) : error 017: undefined symbol "VoziloJeBicikla"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28869) : error 017: undefined symbol "VoziloJeBicikla"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28925) : error 017: undefined symbol "UlicaKuce"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28933) : error 017: undefined symbol "UlicaKuce"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(28937) : error 017: undefined symbol "UlicaKuce"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29052) : error 017: undefined symbol "KreirajAut"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29063) : error 017: undefined symbol "KreirajNamestaj"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29074) : error 017: undefined symbol "KreirajTrafiku"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29085) : error 017: undefined symbol "KreirajAtm"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29415) : error 017: undefined symbol "Konektovano"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29418) : error 017: undefined symbol "AntiDeAMX"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29457) : error 017: undefined symbol "SavePlayer"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29504) : error 017: undefined symbol "GetName"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29505) : error 017: undefined symbol "AdminSupporter"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29667) : error 017: undefined symbol "MakeNumber"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29827) : error 017: undefined symbol "g_NovacPlus"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29834) : error 017: undefined symbol "g_NovacPlus"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29841) : error 017: undefined symbol "g_NovacPlus"
C:\Users\Adis\Desktop\Bloods Angels Roleplay\gamemodes\BARP.pwn(29848) : error 017: undefined symbol "g_NovacPlus"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Prosto samo sam promenio poneke sitnice kao cena deagle-a i jos ponesto i iskoci mi ovo, znam da nigde nisam niss  pojebao i to... ako neko zna kako da fix neka se javi
Tko zna neka mi pise u komentarima  8)
« Poslednja izmena: Jul 16, 2017, 12:48:44 posle podne MEDO »
 

Van mreže Cone

Odg: [Pomoc] Error
« Odgovor #1 poslato: Jul 15, 2017, 22:34:39 posle podne »
zaboravio si zagradu za zatvoris } ili ima visak ili manjak negde gde si poslednje radio
 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #2 poslato: Jul 15, 2017, 23:13:37 posle podne »
I ja sam mislio da je to, imali neki checker nesto da lakse to pronadjem ??
 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #3 poslato: Jul 15, 2017, 23:26:12 posle podne »
Evoo Fixao sam samo mi osatalo jos ovo:
Pawno Code: [Izaberi]
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : error 029: invalid expression, assumed zero
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : warning 215: expression has no effect
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
 

Van mreže LoOdaK

Odg: [Pomoc] Error
« Odgovor #4 poslato: Jul 15, 2017, 23:42:01 posle podne »
Linija??
Citat
Electric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!

Voli sve ne pravi razliku by LoOdaK
[/size]


 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #5 poslato: Jul 15, 2017, 23:46:04 posle podne »
Linija??

Pawno Code: [Izaberi]
else if(UsaoAvionProdaja[playerid] != -1)
Pawno Code: [Izaberi]
YCMD:kupiletelicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""CRVENA"[BE:RP]"BELA" Morate se ulogovati da bi koristili komande");
if(PlayerInfo[playerid][pPosedovanjeAviona] != -1) return SCM(playerid,-1,""SIVA"Vec posedujes letjelicu!");
if(PlayerInfo[playerid][pSatiIgre] < 32) return SCM(playerid,-1,""SIVA"Morate imati 32 sati igre za kupovinu auta!");
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1868.8652,-2284.3818,13.5469))
{
    if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1,""SIVA"Ne mozete gledati katalog iz vozila!");
    SPD(playerid, DIALOG_KAVIONA, DIALOG_STYLE_LIST,"Odabir letjelice","Dodo | "ZELENA"750000$\nStuntplane | "ZELENA"1000000$\nMaverick | "ZELENA"2500000$\nSparrow | "ZELENA"1500000$", "Odaberi", "Nazad");
        else if(UsaoAvionProdaja[playerid] != -1)
{
  new i = UsaoAvionProdaja[playerid];
        if(AvionInfo[i][avImaVlasnika] == 0)
{
  if(PlayerInfo[playerid][pNovacDzep] < AvionInfo[i][avCijena]/2) return SCM(playerid,-1,""SIVA"Nemate dovoljno novca!");
    g_NovacMinus(playerid, AvionInfo[i][avCijena]/2);
AvionInfo[i][avImaVlasnika] = 1; AvionInfo[i][avZakljucan] = 1;
PlayerInfo[playerid][pPosedovanjeAviona] = i;
strmid(AvionInfo[i][avVlasnik], GetName(playerid), 0, strlen(GetName(playerid)), 999);
SacuvajAvione(i); SavePlayer(playerid); TogglePlayerControllable(playerid, 1);
SCMF(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "BELA"Uspesno ste kupili polovnu letjelicu za %d$ novca!",AvionInfo[i][avCijena]/2);
            UsaoAvionProdaja[playerid] = -1;
}
}
else return SCM(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "SIVA"Ta letjelica nije na prodaju!");
}
return 1;
}
 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #6 poslato: Jul 16, 2017, 00:09:15 pre podne »
Pawno Code: [Izaberi]
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : error 029: invalid expression, assumed zero
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : warning 215: expression has no effect
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41147) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

DAJ POMAZITE SAMO JOS OVO OSTALO!!!


Linija:
Pawno Code: [Izaberi]
else if(UsaoAvionProdaja[playerid] != -1)
Cela cmd:
Pawno Code: [Izaberi]
YCMD:kupiletelicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""CRVENA"[BE:RP]"BELA" Morate se ulogovati da bi koristili komande");
if(PlayerInfo[playerid][pPosedovanjeAviona] != -1) return SCM(playerid,-1,""SIVA"Vec posedujes letjelicu!");
if(PlayerInfo[playerid][pSatiIgre] < 32) return SCM(playerid,-1,""SIVA"Morate imati 32 sati igre za kupovinu auta!");
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1868.8652,-2284.3818,13.5469))
{
    if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1,""SIVA"Ne mozete gledati katalog iz vozila!");
    SPD(playerid, DIALOG_KAVIONA, DIALOG_STYLE_LIST,"Odabir letjelice","Dodo | "ZELENA"750000$\nStuntplane | "ZELENA"1000000$\nMaverick | "ZELENA"2500000$\nSparrow | "ZELENA"1500000$", "Odaberi", "Nazad");
        else if(UsaoAvionProdaja[playerid] != -1)
{
  new i = UsaoAvionProdaja[playerid];
        if(AvionInfo[i][avImaVlasnika] == 0)
{
  if(PlayerInfo[playerid][pNovacDzep] < AvionInfo[i][avCijena]/2) return SCM(playerid,-1,""SIVA"Nemate dovoljno novca!");
    g_NovacMinus(playerid, AvionInfo[i][avCijena]/2);
AvionInfo[i][avImaVlasnika] = 1; AvionInfo[i][avZakljucan] = 1;
PlayerInfo[playerid][pPosedovanjeAviona] = i;
strmid(AvionInfo[i][avVlasnik], GetName(playerid), 0, strlen(GetName(playerid)), 999);
SacuvajAvione(i); SavePlayer(playerid); TogglePlayerControllable(playerid, 1);
SCMF(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "BELA"Uspesno ste kupili polovnu letjelicu za %d$ novca!",AvionInfo[i][avCijena]/2);
            UsaoAvionProdaja[playerid] = -1;
}
}
else return SCM(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "SIVA"Ta letjelica nije na prodaju!");
}
return 1;
}
 

Van mreže Vuk7

Odg: [Pomoc] Error
« Odgovor #7 poslato: Jul 16, 2017, 00:13:02 pre podne »
Probaj ovako

Pawno Code: [Izaberi]
YCMD:kupiletelicu(playerid, params[], help)
{
#pragma unused help
#pragma unused params
if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,""CRVENA"[BE:RP]"BELA" Morate se ulogovati da bi koristili komande");
if(PlayerInfo[playerid][pPosedovanjeAviona] != -1) return SCM(playerid,-1,""SIVA"Vec posedujes letjelicu!");
if(PlayerInfo[playerid][pSatiIgre] < 32) return SCM(playerid,-1,""SIVA"Morate imati 32 sati igre za kupovinu auta!");
if(IsPlayerInRangeOfPoint(playerid, 5.0, 1868.8652,-2284.3818,13.5469))
{
    if(IsPlayerInAnyVehicle(playerid)) return SCM(playerid,-1,""SIVA"Ne mozete gledati katalog iz vozila!");
    SPD(playerid, DIALOG_KAVIONA, DIALOG_STYLE_LIST,"Odabir letjelice","Dodo | "ZELENA"750000$\nStuntplane | "ZELENA"1000000$\nMaverick | "ZELENA"2500000$\nSparrow | "ZELENA"1500000$", "Odaberi", "Nazad");
        }
        else if(UsaoAvionProdaja[playerid] != -1)
{
  new i = UsaoAvionProdaja[playerid];
        if(AvionInfo[i][avImaVlasnika] == 0)
{
  if(PlayerInfo[playerid][pNovacDzep] < AvionInfo[i][avCijena]/2) return SCM(playerid,-1,""SIVA"Nemate dovoljno novca!");
    g_NovacMinus(playerid, AvionInfo[i][avCijena]/2);
AvionInfo[i][avImaVlasnika] = 1; AvionInfo[i][avZakljucan] = 1;
PlayerInfo[playerid][pPosedovanjeAviona] = i;
strmid(AvionInfo[i][avVlasnik], GetName(playerid), 0, strlen(GetName(playerid)), 999);
SacuvajAvione(i); SavePlayer(playerid); TogglePlayerControllable(playerid, 1);
SCMF(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "BELA"Uspesno ste kupili polovnu letjelicu za %d$ novca!",AvionInfo[i][avCijena]/2);
            UsaoAvionProdaja[playerid] = -1;

}
}
        else return SCM(playerid,-1,""CRVENA"{F81414}[BE:RP]{FFFFFF} "SIVA"Ta letjelica nije na prodaju!");
return 1;
}
« Poslednja izmena: Jul 16, 2017, 00:14:44 pre podne Vuk7 »
.                /¯/)              (\¯\
               /¯  /                 \  ¯\
             /    /                    \    \
      /´¯/'   '/´¯`•¸      ´¯`\'   '\´¯\
   /'/   /    /     /¯\  /¯\    \   \    \  '\
(   (   (   ( ¯  ​/'   ')('    '\​ ¯  )   )  )   )   )
  \                       /  \                        /
    \                   /      \                    /
     (                  \        /                  )
 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #8 poslato: Jul 16, 2017, 00:19:26 pre podne »
@Vuk7 Jesam brt, i jos 1 error mi je ostao:
Pawno Code: [Izaberi]
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41164) : warning 209: function "@_yCkupiletelicu" should return a value
C:\Users\Adis\Desktop\Balkan Energy Roleplay\gamemodes\BERP.pwn(41165) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
 

Van mreže #Adi

  • Homeboy
  • *
  • Poruke: 255
  • Pol: Muškarac
Odg: [Pomoc] Error
« Odgovor #9 poslato: Jul 16, 2017, 00:24:51 pre podne »
Fixao sam, hvala puno @Vuk7 <3