Errori

Započeo DuxMaster, April 10, 2020, 20:24:53 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem (error/warning): Stavio sam neke org pod /* */ i kada sam ih vratio dolaze mi errori.
Dio skripte:
Pawno Code: [Izaberi]
[pawn]
Errori koji doalze:
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39152) : error 017: undefined symbol "PoAuta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39160) : error 017: undefined symbol "PoAuta3"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39168) : error 017: undefined symbol "Po2Auta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39176) : error 017: undefined symbol "Po3Auta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39192) : error 017: undefined symbol "RbAuta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39200) : error 017: undefined symbol "TaxiAuta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(39208) : error 017: undefined symbol "BaseAuta"
C:\Users\.\Desktop\a\gamemodes\BN.pwn(41394) : error 032: array index out of bounds (variable "tbt")
C:\Users\.\Desktop\a\gamemodes\BN.pwn(41406) : error 032: array index out of bounds (variable "tbt")
      if(PoAuta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 11)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Blue Lagoon", 2500, 5);
         }
      }
      if(PoAuta3(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 19)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~DR", 2500, 5);
         }
      }
      if(Po2Auta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 12)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Blue Terra", 2500, 5);
         }
      }
      if(Po3Auta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 13)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Da Naga Boys", 2500, 5);
         }
      }
      if(SaAuta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 10)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Hitman", 2500, 5);
         }
      }
      if(RbAuta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 17)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Black Cobra Corporation", 2500, 5);
         }
      }
      if(TaxiAuta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 14)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Taxi", 2500, 5);
         }
      }
      if(BaseAuta(vehicleid))
      {
         if(PlayerInfo[playerid][pClan] != 15)
         {
            SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
            GameTextForPlayer(playerid, "~r~Yakuza", 2500, 5);
         }
      }
////////////////////////// Pa onda ovi errori
if(SvercDroge[playerid] == 2 && CID == tbt[13] || CID == tbt[14] || CID == tbt[15] || CID == tbt[16] && GetPlayerState(playerid) == 2)
if(SvercDroge[playerid] == 1 && CID == tbt[13] || CID == tbt[14] || CID == tbt[15] || CID == tbt[16] && GetPlayerState(playerid) == 2)
[/pawn]
Debug iz server_log (ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema (obavezno ako je ingame problem): //
Jedina prava mudrost je
znati da ne znate ništa.



Pa da stavio si komentar a neke varijable su jos u upotrebi, a nisu definisane zbog komentara....
A sot se tice array on ti krece od 0.. tkd posalji gde si definisao tbt, vrv nisi lepo
»Sve što je na Zemlji, prolazno je...«

Citat: |Gagi| poslato April 10, 2020, 20:43:58 POSLE PODNE
Pa da stavio si komentar a neke varijable su jos u upotrebi, a nisu definisane zbog komentara....
A sot se tice array on ti krece od 0.. tkd posalji gde si definisao tbt, vrv nisi lepo

Riješio sam lock !
Jedina prava mudrost je
znati da ne znate ništa.