[POMOC] Pawno Greska

Započeo DjokoÅ¡, Mart 16, 2012, 13:08:22 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozdrav...imam problem u PAWNU editujem gamemod FG Faction Game i menjam organizacije tj. imena org.
Swe sam promenio i sada imam ovaj problem sa Yakuzom
OVAKO

C:\Users\Korisnik\Desktop\North Europe [NE]\gamemodes\FactionGame.pwn(24262) : error 017: undefined symbol "Yakuzagate"
C:\Users\Korisnik\Desktop\North Europe [NE]\gamemodes\FactionGame.pwn(33682) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Kako da resim?
prst prst u cupi,prst prst u anus

Pogrijesio si PodForum.
Ali, evo pomocu ti.
Daj ovu liniju 33682
A Yakuzagate definiraj

new Yakuzagate;
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati

De da nadjem tu Liniju?
prst prst u cupi,prst prst u anus

Citat: [BU]Djordje_Veljkovic poslato Mart 16, 2012, 13:20:44 POSLE PODNE
De da nadjem tu Liniju?
CTRL + G i taj broj linije
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati

ovo mi je izaslo

/----------------------------------[INVITE]------------------------------------------------
if(strcmp(cmd, "/invite", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /invite [ID Igraca/Dio Imena]");
return 1;
}
new para1;
new ftext[20];
para1 = ReturnUser(tmp);
if (PlayerInfo[playerid][pLeader] >= 1)
{
    if(IsPlayerConnected(para1))
    {
if(PlayerInfo[para1][pLevel] < 2)
{
SendClientMessage(playerid, COLOR_GREY, "   Igrac mora biti minimum lvl 2! ");
return 1;
}
        if(para1 != INVALID_PLAYER_ID)
        {
    if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
    {
        if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Policija"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
        else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI Agent"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
        else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Vojska Evropske Unije"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
        else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Hitna Pomoc"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
        else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "THC Familia"; ChosenSkin[para1] = 116; SetPlayerSkin(para1, 116); }
        else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 6; gTeam[para1] = 6; ftext = "La Cosa Nostra"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }
        else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agencija"; ChosenSkin[para1] = 249; SetPlayerSkin(para1, 249); }
        else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Novinarska Agencija"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }
        else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Organizacija"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
        //else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "SF PD"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
        else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Ruska Mafija"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        //else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 13; gTeam[para1] = 13; ftext = "Triads"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yamaguchi"; ChosenSkin[para1] = 169; SetPlayerSkin(para1, 169); }
        else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 15; gTeam[para1] = 15; ftext = "47th Familija"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
        else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 16; gTeam[para1] = 16; ftext = "Faction Bikeri"; ChosenSkin[para1] = 247; SetPlayerSkin(para1, 247); }
        //else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 17; gTeam[para1] = 17; ftext = "CIA"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
        else { return 1; }
prst prst u cupi,prst prst u anus

Citat: [BU]Djordje_Veljkovic poslato Mart 16, 2012, 15:20:50 POSLE PODNE
ovo mi je izaslo

/----------------------------------[INVITE]------------------------------------------------
if(strcmp(cmd, "/invite", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /invite [ID Igraca/Dio Imena]");
return 1;
}
new para1;
new ftext[20];
para1 = ReturnUser(tmp);
if (PlayerInfo[playerid][pLeader] >= 1)
{
    if(IsPlayerConnected(para1))
    {
if(PlayerInfo[para1][pLevel] < 2)
{
SendClientMessage(playerid, COLOR_GREY, "   Igrac mora biti minimum lvl 2! ");
return 1;
}
        if(para1 != INVALID_PLAYER_ID)
        {
    if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
    {
        if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Policija"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
        else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI Agent"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }
        else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Vojska Evropske Unije"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }
        else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Hitna Pomoc"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }
        else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "THC Familia"; ChosenSkin[para1] = 116; SetPlayerSkin(para1, 116); }
        else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 6; gTeam[para1] = 6; ftext = "La Cosa Nostra"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }
        else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agencija"; ChosenSkin[para1] = 249; SetPlayerSkin(para1, 249); }
        else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Novinarska Agencija"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }
        else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Organizacija"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }
        //else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "SF PD"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }
        else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Ruska Mafija"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        //else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 13; gTeam[para1] = 13; ftext = "Triads"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }
        else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yamaguchi"; ChosenSkin[para1] = 169; SetPlayerSkin(para1, 169); }
        else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 15; gTeam[para1] = 15; ftext = "47th Familija"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); }
        else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 16; gTeam[para1] = 16; ftext = "Faction Bikeri"; ChosenSkin[para1] = 247; SetPlayerSkin(para1, 247); }
        //else if(PlayerInfo[playerid][pLeader] == 17) { PlayerInfo[para1][pTeam] = 17; gTeam[para1] = 17; ftext = "CIA"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); }
        else { return 1; }

Ne koamdnu, samo jedan dio(taj red)
Koja carina!
Citat: Fâ,¬nsQ poslato Jun 06, 2012, 15:27:14 POSLE PODNE
mozemi netko reci kada se sper.a dobiva imam 13 i pol godine, a nisam je dobio, moji drugari su to vec dobili, moze pomoc
nov sam pa neznam gdje trebam pitati

@| S-RP | K@lib@r .300 Zapamti da ti je ovo zadnja opomena u mojim PDFovima da postas u temi koja nije po pravilima,sljedeci put ako postas potrudit cu se da dobijes zabranu i za ovo !

@autor procitaj pravila, zato imas oci