[POMOC] Errori

Započeo Sabbath, Februar 04, 2011, 20:12:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Prevodio sam raven's i sve je bilo uredu i sad mi pokazuje ovih 7 errora:
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(3720) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14148) : error 017: undefined symbol "RandomFemaleSkins"
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14148) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14148) : warning 215: expression has no effect
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14149) : error 017: undefined symbol "RandomFemaleSkins"
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14149) : warning 215: expression has no effect
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14149) : error 001: expected token: ";", but found "]"
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14149) : error 029: invalid expression, assumed zero
D:\miso\gta san andreas\GTA San Andreas\samp\gamemodes\larp.pwn(14149) : fatal error 107: too many error messages on one line

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


7 Errors.


ispod linije 3720:
new RandomFemaleSkins[][] =
{
{9},{10},{11},{38},{39},{40},{54},{55},{56},{63},{64},{75},{76},{77},
{85},{87},{88},{90},{93},{131},{130},{138},{139},{141},{145},{148},{149},
{152},{157},{169},{172},{178},{190},{192},{193},{194},{199},{198},{201},
{207},{211},{215},{219},{225},{226},{233},{237},{244},{246},{251},{257},
{263}
}


i 14148 i 14149:
else if(listitem == 7)
{
    if(PlayerInfo[playerid][pSex] == 2)
    {
new rand = random(sizeof(RandomFemaleSkins));
SetPlayerSkin(playerid, RandomFemaleSkins[rand][0]);
      SendClientMessage(playerid, COLOR_GRAD2, "You are now undercover as a Random girl.");
SetPlayerColor(playerid, TEAM_HIT_COLOR);
return 1;
}
else
{
    SendClientMessage(playerid, COLOR_GREY, "* You are a Male, Use the Random Undercover Male Option!");
    return 1;
}

  }


i smetaju errori ne moze se pokrenuti

new RandomFemaleSkins[][] =
{
{9},{10},{11},{38},{39},{40},{54},{55},{56},{63},{64},{75},{76},{77},
{85},{87},{88},{90},{93},{131},{130},{138},{139},{141},{145},{148},{149},
{152},{157},{169},{172},{178},{190},{192},{193},{194},{199},{198},{201},
{207},{211},{215},{219},{225},{226},{233},{237},{244},{246},{251},{257},
{263}
}


tu ti fali na kraju ";" na zadnjoj zagradi

znaci treba ovako:

[code]new RandomFemaleSkins[][] =
{
{9},{10},{11},{38},{39},{40},{54},{55},{56},{63},{64},{75},{76},{77},
{85},{87},{88},{90},{93},{131},{130},{138},{139},{141},{145},{148},{149},
{152},{157},{169},{172},{178},{190},{192},{193},{194},{199},{198},{201},
{207},{211},{215},{219},{225},{226},{233},{237},{244},{246},{251},{257},
{263}
};


i sada treba raditi

[/code]
Poslednja Izmena: Februar 04, 2011, 22:44:42 POSLE PODNE od [NS]Mike