[POMOC]Hitno

Započeo Bilsen_Jahjagic, Februar 23, 2013, 15:18:49 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Bilsen_Jahjagic

Skripta koju koristim:South Europe RP
Detaljan opis problema: Ubacio sam ovo //////////////////////////////////////////////////////////////////////////////////////////////////////////////
if(strcmp(cmd, "/prekinisavez", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /prekinisavez[ID Igraca/Dio Imena]");
return 1;
}
new playa;
playa = ReturnUser(tmp);
            new lider=PlayerInfo[playerid][pLeader];
             new lider2=PlayerInfo[playa][pLeader];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
{
    if(IsPlayerConnected(playa))
    {
        if(playa != INVALID_PLAYER_ID)
        {
if(Savezi[leader]!=leader2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije u savezu sa vasom bandom/mafijom");
return 1;
}
Savezi[lider]=99;
Savezi[lider2]=99;
SaveSaveze();
SendClientMessage(playerid, COLOR_GRAD2, "Prekinuli ste savez!");
SendClientMessage(playa, COLOR_GRAD2, "Lider bande sa kojom ste u savezu je prekinuo savez sa vama!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije online");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2,  "Igrac nije online");
}
                                                   }
else
{
SendClientMessage(playerid, COLOR_GRAD2, "Niste lider bande mafije");
}
}
return 1;
}
if(strcmp(cmd, "/e", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozete pricati, oduzeto vam je pravo govora");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /e [saveznicki chat]");
return 1;
}
                                                        new lider=PlayerInfo[playerid][pLeader];
                                                       new member = PlayerInfo[playerid][pMember];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pMember] == 16)
{
                                                        if(Savezi[lider]==99)
                                                        {
                                                      SendClientMessage(playerid, COLOR_GRAD2, "Niste u savezu ni sa kim");
return 1;
}
                                                        if(member>0)
{
new imeband[100];
if(member == 5){imeband="The Red Brigade";}
if(member == 6){imeband="The Escobar Cartel";}
if(member  == 15){imeband="18Th Street Gang";}
if(member == 16){imeband="Grove Street Family";}
format(string, sizeof(string), "{7ef2fa}Clan %s %s:{ffffff} %s", imeband,sendername, result);
SendsavezMessage(member,Savezi[member], string)
}
                                                        if(lider>0)
{
new imeband[100];
if(leader == 5){imeband="The Red Brigade";}
if(leader == 6){imeband="The Escobar Cartel";}
if(leader  == 15){imeband="18Th Street Gang";}
if(leader == 16){imeband="Grove Street Family";}
format(string, sizeof(string), "{7ef2fa}Lider %s %s:{ffffff} %s", imeband,sendername, result);
SendsavezMessage(lider,Savezi[lider], string);

}
}
}
return 1;
}
if(strcmp(cmd, "/savez", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /savez [ID Igraca/Dio Imena]");
return 1;
}
new playa;
playa = ReturnUser(tmp);
            new lider=PlayerInfo[playerid][pLeader];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
{
    if(IsPlayerConnected(playa))
    {
        if(playa != INVALID_PLAYER_ID)
        {
         if (!ProxDetectorS(10.0, playerid, playa))
{
SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije blizu vas");
return 1;
}
if (playerid==playa)
{
SendClientMessage(playerid, COLOR_GRAD2, "Ne mozes sebi ponuditi savez");
return 1;
}

new lider2=PlayerInfo[playa][pLeader];
if (lider==lider2)
{
SendClientMessage(playerid, COLOR_GRAD2, "Lideri ste iste bande/mafije");
return 1;
}
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
{
if(Savezi[lider]!=99)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vec si u savezu sa nekim!");return 1;
}
if(Savezi[lider2]!=99)
{
SendClientMessage(playerid, COLOR_GRAD1, "Lider je vec u savezu sa nekim!");return 1;
}
if(!PlayerToPoint(50.0,playerid,2556.4114,-2152.6775,-0.2188))
{
SendClientMessage(playerid, COLOR_GREY, "Moras biti u kaficu za saveze(oznacen markerom)!");
SetPlayerCheckpoint(playerid,2576.0696,-2152.4644,-0.2188, 3.0);
    return 1;
}
ponudio[playa]=playerid;
new imeband[100];
if(leader == 5){imeband="The Red Brigade";}
if(leader == 6){imeband="The Escobar Cartel";}
if(leader  == 15){imeband="18Th Street Gang";}
if(leader == 16){imeband="Grove Street Family";}
new loginname[64];
GetPlayerName(playerid,loginname,sizeof(loginname));
new sdasd[1300];
format(sdasd, sizeof(sdasd), "Lider %s %s vam je ponudio savez",imeband,loginname);
ShowPlayerDialog(playa,77,DIALOG_STYLE_MSGBOX,"Savez",sdasd,"Prihvati","Odbi");
SendClientMessage(playerid,COLOR_WHITE,"Ponudili ste savez!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije lider bande ili mafije!");
}


}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije online!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije online!");
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Niste lider bande ili mafije!");
}
}
return 1;
}
    if(strcmp(cmd, "/savezi", true) == 0)
{
new saveznik5[100];
if(Savezi[5]==99){saveznik5="Nema Saveznika";}
if(Savezi[5]==5){saveznik5="The Red Brigade";}
if(Savezi[5]==6){saveznik5="The Escobar Cartel";}
if(Savezi[5]==15){saveznik5="18Th Street Gang";}
if(Savezi[5]==16){saveznik5="Grove Street Family";}
new saveznik6[100];
if(Savezi[6]==99){saveznik5="Nema Saveznika";}
if(Savezi[6]==5){saveznik5="The Red Brigade";}
if(Savezi[6]==6){saveznik5="The Escobar Cartel";}
if(Savezi[6]==15){saveznik5="18Th Street Gang";}
if(Savezi[6]==16){saveznik5="Grove Street Family";}
new saveznik15[100];
if(Savezi[15]==99){saveznik5="Nema Saveznika";}
if(Savezi[15]==5){saveznik5="The Red Brigade";}
if(Savezi[15]==6){saveznik5="The Escobar Cartel";}
if(Savezi[15]==15){saveznik5="18Th Street Gang";}
if(Savezi[15]==16){saveznik5="Grove Street Family";}
new saveznik16[100];
if(Savezi[16]==99){saveznik5="Nema Saveznika";}
if(Savezi[16]==5){saveznik5="The Red Brigade";}
if(Savezi[16]==6){saveznik5="The Escobar Cartel";}
if(Savezi[16]==15){saveznik5="18Th Street Gang";}
if(Savezi[16]==16){saveznik5="Grove Street Family";}

new result[1300];
format(result,sizeof(result),"{ffffff} {8cff94}u savezu sa {ffffff}%s\n{ffffff}     {8cff94}u savezu sa{ffffff} %s\n{ffffff}  {8cff94}u savezu sa {ffffff}%s\n{ffffff}TSF       {8cff94}u savezu sa{ffffff} %s\n{ffffff}   {8cff94}u savezu sa{ffffff} %s\n{ffffff}    {8cff94}u savezu sa{ffffff} %s\n{ffffff}  {8cff94}u savezu sa{ffffff} %s",
saveznik5,
saveznik6,
saveznik15,
saveznik16);
ShowPlayerDialog(playerid, 36, DIALOG_STYLE_MSGBOX, "{8cff94}Savezi", result, "OK", "OK");
return 1;

Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):Izbacuje mi sledece erore
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(2609) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(2634) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(2663) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(2664) : error 004: function "SafeJBC_GivePlayerWeapon" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(2687) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3202) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3206) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3217) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3229) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3233) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3237) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3241) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3245) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3249) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3253) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3257) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3261) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3265) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3277) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3281) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3285) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3289) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3293) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3305) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3309) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(3313) : error 004: function "PlayerToPoint" is not implemented


aj ovako pokusaj

  //////////////////////////////////////////////////////////////////////////////////////////////////////////////
    if(strcmp(cmd, "/prekinisavez", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /prekinisavez[ID Igraca/Dio Imena]");
return 1;
}
new playa;
playa = ReturnUser(tmp);
            new lider=PlayerInfo[playerid][pLeader];
            new lider2=PlayerInfo[playa][pLeader];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
{
    if(IsPlayerConnected(playa))
    {
        if(playa != INVALID_PLAYER_ID)
        {
                        if(Savezi[leader]!=leader2)
                        {
                             SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije u savezu sa vasom bandom/mafijom");
                             return 1;
                        }
                        Savezi[lider]=99;
                        Savezi[lider2]=99;
                        SaveSaveze();
                        SendClientMessage(playerid, COLOR_GRAD2, "Prekinuli ste savez!");
                        SendClientMessage(playa, COLOR_GRAD2, "Lider bande sa kojom ste u savezu je prekinuo savez sa vama!");
                    }
                    else
                    {
                        SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije online");
                    }
                }
                else
                {
                     SendClientMessage(playerid, COLOR_GRAD2,  "Igrac nije online");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD2, "Niste lider bande mafije");
            }
        }
        return 1;
    }
if(strcmp(cmd, "/e", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
    if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ne mozete pricati, oduzeto vam je pravo govora");
return 1;
}
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /e [saveznicki chat]");
return 1;
}
            new lider=PlayerInfo[playerid][pLeader];
            new member = PlayerInfo[playerid][pMember];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pMember] == 16)
{
                if(Savezi[lider]==99)
                {
                SendClientMessage(playerid, COLOR_GRAD2, "Niste u savezu ni sa kim");
return 1;
}
            if(member>0)
            {
                new imeband[100];
                if(member == 5){imeband="The Red Brigade";}
                if(member == 6){imeband="The Escobar Cartel";}
                if(member  == 15){imeband="18Th Street Gang";}
                if(member == 16){imeband="Grove Street Family";}
                format(string, sizeof(string), "{7ef2fa}Clan %s %s:{ffffff} %s", imeband,sendername, result);
                SendsavezMessage(member,Savezi[member], string)
            }
            if(lider>0)
            {
                new imeband[100];
                if(leader == 5){imeband="The Red Brigade";}
                if(leader == 6){imeband="The Escobar Cartel";}
                if(leader  == 15){imeband="18Th Street Gang";}
                if(leader == 16){imeband="Grove Street Family";}
                format(string, sizeof(string), "{7ef2fa}Lider %s %s:{ffffff} %s", imeband,sendername, result);
                SendsavezMessage(lider,Savezi[lider], string);

            }
        }
    }
    return 1;
}
if(strcmp(cmd, "/savez", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /savez [ID Igraca/Dio Imena]");
return 1;
}
new playa;
playa = ReturnUser(tmp);
            new lider=PlayerInfo[playerid][pLeader];
if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
{
    if(IsPlayerConnected(playa))
    {
        if(playa != INVALID_PLAYER_ID)
        {
             if (!ProxDetectorS(10.0, playerid, playa))
     {
         SendClientMessage(playerid, COLOR_GRAD2, "Igrac nije blizu vas");
             return 1;
             }
             if (playerid==playa)
     {
                             SendClientMessage(playerid, COLOR_GRAD2, "Ne mozes sebi ponuditi savez");
             return 1;
                         }

                         new lider2=PlayerInfo[playa][pLeader];
             if (lider==lider2)
     {
         SendClientMessage(playerid, COLOR_GRAD2, "Lideri ste iste bande/mafije");
             return 1;
             }
                         if(PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 16)
                         {
                             if(Savezi[lider]!=99)
                             {
                                  SendClientMessage(playerid, COLOR_GRAD1, "Vec si u savezu sa nekim!");return 1;
                             }
                             if(Savezi[lider2]!=99)
                             {
                                  SendClientMessage(playerid, COLOR_GRAD1, "Lider je vec u savezu sa nekim!");return 1;
                             }
                             if(!PlayerToPoint(50.0,playerid,2556.4114,-2152.6775,-0.2188))
                             {
                                  SendClientMessage(playerid, COLOR_GREY, "Moras biti u kaficu za saveze(oznacen markerom)!");
                                  SetPlayerCheckpoint(playerid,2576.0696,-2152.4644,-0.2188, 3.0);
                          return 1;
                             }
                             ponudio[playa]=playerid;
                             new imeband[100];
                             if(leader == 5){imeband="The Red Brigade";}
                             if(leader == 6){imeband="The Escobar Cartel";}
                             if(leader  == 15){imeband="18Th Street Gang";}
                             if(leader == 16){imeband="Grove Street Family";}
                             new loginname[64];
                             GetPlayerName(playerid,loginname,sizeof(loginname));
                             new sdasd[1300];
                             format(sdasd, sizeof(sdasd), "Lider %s %s vam je ponudio savez",imeband,loginname);
                             ShowPlayerDialog(playa,77,DIALOG_STYLE_MSGBOX,"Savez",sdasd,"Prihvati","Odbi");
                             SendClientMessage(playerid,COLOR_WHITE,"Ponudili ste savez!");
                         }
                         else
                         {
                             SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije lider bande ili mafije!");
                         }
                    }
                    else
                    {
                         SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije online!");
                    }
               }
               else
               {
                    SendClientMessage(playerid, COLOR_GRAD1, "Igrac nije online!");
               }
          }
          else
          {
               SendClientMessage(playerid, COLOR_GRAD1, "Niste lider bande ili mafije!");
          }
    }
    return 1;
}
if(strcmp(cmd, "/savezi", true) == 0)
{
    new saveznik5[100];
    if(Savezi[5]==99){saveznik5="Nema Saveznika";}
    if(Savezi[5]==5){saveznik5="The Red Brigade";}
    if(Savezi[5]==6){saveznik5="The Escobar Cartel";}
    if(Savezi[5]==15){saveznik5="18Th Street Gang";}
    if(Savezi[5]==16){saveznik5="Grove Street Family";}
    new saveznik6[100];
    if(Savezi[6]==99){saveznik5="Nema Saveznika";}
    if(Savezi[6]==5){saveznik5="The Red Brigade";}
    if(Savezi[6]==6){saveznik5="The Escobar Cartel";}
    if(Savezi[6]==15){saveznik5="18Th Street Gang";}
    if(Savezi[6]==16){saveznik5="Grove Street Family";}
    new saveznik15[100];
    if(Savezi[15]==99){saveznik5="Nema Saveznika";}
    if(Savezi[15]==5){saveznik5="The Red Brigade";}
    if(Savezi[15]==6){saveznik5="The Escobar Cartel";}
    if(Savezi[15]==15){saveznik5="18Th Street Gang";}
    if(Savezi[15]==16){saveznik5="Grove Street Family";}
    new saveznik16[100];
    if(Savezi[16]==99){saveznik5="Nema Saveznika";}
    if(Savezi[16]==5){saveznik5="The Red Brigade";}
    if(Savezi[16]==6){saveznik5="The Escobar Cartel";}
    if(Savezi[16]==15){saveznik5="18Th Street Gang";}
    if(Savezi[16]==16){saveznik5="Grove Street Family";}

    new result[1300];
    format(result,sizeof(result),"{ffffff} {8cff94}u savezu sa {ffffff}%s\n{ffffff}     {8cff94}u savezu sa{ffffff} %s\n{ffffff}  {8cff94}u savezu sa {ffffff}%s\n{ffffff}TSF       {8cff94}u savezu sa{ffffff} %s\n{ffffff}   {8cff94}u savezu sa{ffffff} %s\n{ffffff}    {8cff94}u savezu sa{ffffff} %s\n{ffffff}  {8cff94}u savezu sa{ffffff} %s",
    saveznik5,
    saveznik6,
    saveznik15,
    saveznik16);
    ShowPlayerDialog(playerid, 36, DIALOG_STYLE_MSGBOX, "{8cff94}Savezi", result, "OK", "OK");
    return 1;
}

Bilsen_Jahjagic

Izbacuje mi sledece erore
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30672) : error 017: undefined symbol "Savezi"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30672) : error 017: undefined symbol "leader"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30672) : error 029: invalid expression, assumed zero
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30672) : fatal error 107: too many error messages on one line

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


4 Errors.

leader promeni sam lider
leader2 sa lider2 promeni

Bilsen_Jahjagic

Novi erori C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30744) : error 017: undefined symbol "Savezi"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30744) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30744) : error 001: expected token: ";", but found "]"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30744) : error 029: invalid expression, assumed zero
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(30744) : fatal error 107: too many error messages on one line

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


4 Errors.

stavi ovako na vrh new Savezi[MAX_PLAYERS];

Bilsen_Jahjagic

Sledeci errori i warninzi
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35645) : error 012: invalid function call, not a valid address
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35645) : error 029: invalid expression, assumed zero
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : error 012: invalid function call, not a valid address
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : error 001: expected token: ";", but found ")"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35711) : fatal error 107: too many error messages on one line

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


6 Errors.

Evo vam ova 2 reda
35711
SendsavezMessage(member,Savezi[member] string);
35645
SaveSaveze()

Bilsen_Jahjagic

Drugi error fixan samo mi ovaj ostao
SendsavezMessage(member,Savezi[member], string);
Evo errori koje izbacuje
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35646) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : error 012: invalid function call, not a valid address
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : warning 215: expression has no effect
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : error 001: expected token: ";", but found ")"
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : error 029: invalid expression, assumed zero
C:\Users\Seven\Desktop\B\FS 0.3x by Claude\gamemodes\south-europe.pwn(35712) : fatal error 107: too many error messages on one line

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


4 Errors.

SRY ZA DP

stock SendsavezMessage(family,savez, string[])
{
foreach (Player, i)
{
    if(PlayerInfo[i][pClan] == family || PlayerInfo[i][pLider] == family||PlayerInfo[i][pClan] == savez || PlayerInfo[i][pLider] == savez)
    {
SendClientMessage(i,BELA, string);
}
}
}


ovaj stock mora da imas

Bilsen_Jahjagic

Nista mi nije pomoglo,ima neko drugo rjesenje btw. ?

ne mozes tek tako iscupati stvar iz neke skripte i ocekivati da ce raditi..

Bilsen_Jahjagic

Jel mi mozes pomoc nekako ?
I uputit me kako treba ?

Bilsen_Jahjagic


Bilsen_Jahjagic

BUMP! Jel mi moze neko pomoc ?