[Pomoc] Lider Dialog

Započeo Pludzersii, Januar 03, 2014, 01:49:38 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: Night Life
Detaljan opis problema: Ne otvara dialog
Dio skripte:

Komanda /lider, ona radi.. Al ostalo ne!

CMD:lider(playerid,params[])
{
if(PlayerInfo[playerid][pLider] > 0)
{
new string[128];
format(string,sizeof(string),"{FFFFFF}Lider | {F81414}%s",ImeOrg(PlayerInfo[playerid][pLider]));
ShowPlayerDialog(playerid,9393,DSL,string,"{F81414}1| {FFFFFF}Ubaci clana\n\
   {F81414}2| {FFFFFF}Izbaci Clan\n\
   {F81414}3| {FFFFFF}Izbaci offline\n\
   {F81414}4| {FFFFFF}Dodjeli Rank\n\
   {F81414}5| {FFFFFF}Stanje Budzeta\n\
   {F81414}6| {FFFFFF}Lista Online Clanova\n\
   {F81414}7| {FFFFFF}Org. Info","U redu","Izadji");
}
return 1;
}




Kad izaberem opciju!





///BUgovi
if(dialogid == 9393)
{
if(!response) return 1;
if(response)
{
if(listitem == 0) //
{
ShowPlayerDialog(playerid,3447,DSI,"{F81414}YUL:RP | {FFFFFF}Ubacivanje Clana","Unesite ID igraca kojeg zelite ubaciti u Organizaciju:","U redu","Izadji");
}
if(listitem == 1) //
{
ShowPlayerDialog(playerid,5337,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite ID igraca kojeg zelite izbaciti iz Organizacije:","U redu","Izadji");
}
if(listitem == 2) //
{
ShowPlayerDialog(playerid,7553,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite Nick igraca kojeg zelite offline izbaciti iz Organizacije:","U redu","Izadji");
}
if(listitem == 3) //
{
ShowPlayerDialog(playerid,3434,DSL,"{F81414}Rank","{F81414}YUL:RP | {FFFFFF}Rank 1\n{F81414}YUL:RP | {FFFFFF}Rank 2\n{F81414}YUL:RP | {FFFFFF}Rank 3\n{F81414}YUL:RP | {FFFFFF}Rank 4\n{F81414}YUL:RP | {FFFFFF}Pod-Lider","U redu","Izadji");
}
if(listitem == 4) //
{
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else { karina1 = 5000; }
format(string,sizeof(string),"{FFFF33}Stanje Budzeta vase Organizacije je: {FFFFFF}%d$",karina1);
ShowPlayerDialog(playerid,3317,DIALOG_STYLE_MSGBOX,"Budzet",string,"U redu","");
}
if(listitem == 5) //
{
new teamnumber;
if (PlayerInfo[playerid][pLider] != 0) teamnumber = PlayerInfo[playerid][pLider];
else if (PlayerInfo[playerid][pClan] != 0) teamnumber = PlayerInfo[playerid][pClan];
new admtext[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
SCMF(playerid, WHITE,"{B7FF00}Online Clanovi | %s",admtext);
foreach (Player, i)
{
imeigraca(i, sendername);
format(string, sizeof(string), "");
if (PlayerInfo[i][pLider] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | Lider",sendername);
else if (PlayerInfo[i][pClan] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | %d",sendername, PlayerInfo[i][pRank]);
if (strlen(string) > 1) SendClientMessage(playerid, ZELENKASTA, string);
}
}
if(listitem == 6) //
{
new string1[256];
new admtext[32];
new karina[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { karina = "40"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { karina = "10"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { karina = "35"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { karina = "15"; }
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else { karina1 = 5000; }
format(string1,sizeof(string1),"{FFFF33}Org. Naziv: {FFFFFF}%s\n\
{FFFF33}Stanje Budzeta: {FFFFFF}%d$\n\
{FFFF33}* Ukupno clanova: {FFFFFF}%d\n\
{FFFF33}Max. Clanova: {FFFFFF}%s",admtext,karina1,BrojClanova[PlayerInfo[playerid][pLider]][Broj],karina);
ShowPlayerDialog(playerid,5331,DIALOG_STYLE_MSGBOX,"Org. Info",string1,"U redu","");
}
}
}
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

Uradi ovako i radice ti.

Dodas pri vrhu moda.


#define DIALOG_LIDERI 1937


Zamenis ovaj dialog sa ovim.


ShowPlayerDialog(playerid,DIALOG_LIDERI,DSL,string,"{F81414}1| {FFFFFF}Ubaci clana\n\
   {F81414}2| {FFFFFF}Izbaci Clan\n\
   {F81414}3| {FFFFFF}Izbaci offline\n\
   {F81414}4| {FFFFFF}Dodjeli Rank\n\
   {F81414}5| {FFFFFF}Stanje Budzeta\n\
   {F81414}6| {FFFFFF}Lista Online Clanova\n\
   {F81414}7| {FFFFFF}Org. Info","U redu","Izadji");


Pod OnDialogResponse dodaj.


case DIALOG_LIDERI:
{
if(response)
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid,3447,DSI,"{F81414}YUL:RP | {FFFFFF}Ubacivanje Clana","Unesite ID igraca kojeg zelite ubaciti u Organizaciju:","U redu","Izadji");
}
case 1:
{
ShowPlayerDialog(playerid,5337,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite ID igraca kojeg zelite izbaciti iz Organizacije:","U redu","Izadji");
}
case 2:
{
ShowPlayerDialog(playerid,7553,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite Nick igraca kojeg zelite offline izbaciti iz Organizacije:","U redu","Izadji");
}
case 3:
{
ShowPlayerDialog(playerid,3434,DSL,"{F81414}Rank","{F81414}YUL:RP | {FFFFFF}Rank 1\n{F81414}YUL:RP | {FFFFFF}Rank 2\n{F81414}YUL:RP | {FFFFFF}Rank 3\n{F81414}YUL:RP | {FFFFFF}Rank 4\n{F81414}YUL:RP | {FFFFFF}Pod-Lider","U redu","Izadji");
}
case 4:
{
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else
{
karina1 = 5000;
}
format(string,sizeof(string),"{FFFF33}Stanje Budzeta vase Organizacije je: {FFFFFF}%d$",karina1);
ShowPlayerDialog(playerid,3317,DIALOG_STYLE_MSGBOX,"Budzet",string,"U redu","");
}
case 5:
{
new teamnumber;
if (PlayerInfo[playerid][pLider] != 0) teamnumber = PlayerInfo[playerid][pLider];
else if (PlayerInfo[playerid][pClan] != 0) teamnumber = PlayerInfo[playerid][pClan];
new admtext[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
SCMF(playerid, WHITE,"{B7FF00}Online Clanovi | %s",admtext);

foreach (Player, i)
{
imeigraca(i, sendername);
format(string, sizeof(string), "");
if (PlayerInfo[i][pLider] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | Lider",sendername);
else if (PlayerInfo[i][pClan] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | %d",sendername, PlayerInfo[i][pRank]);
if (strlen(string) > 1) SendClientMessage(playerid, ZELENKASTA, string);
}

}
case 6:
{
new string1[256];
new admtext[32];
new karina[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { karina = "40"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { karina = "10"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { karina = "35"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { karina = "15"; }
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else
{
karina1 = 5000;
}
format(string1,sizeof(string1),"{FFFF33}Org. Naziv: {FFFFFF}%s\n\
{FFFF33}Stanje Budzeta: {FFFFFF}%d$\n\
{FFFF33}* Ukupno clanova: {FFFFFF}%d\n\
{FFFF33}Max. Clanova: {FFFFFF}%s",admtext,karina1,BrojClanova[PlayerInfo[playerid][pLider]][Broj],karina);
ShowPlayerDialog(playerid,5331,DIALOG_STYLE_MSGBOX,"Org. Info",string1,"U redu","");
}
}
}

Nece, eo errori..!

C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 014: invalid statement; not in switch
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 001: expected token: ";", but found ":"
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : fatal error 107: too many error messages on one line

loc

*

Citat: Pludzersii poslato Januar 03, 2014, 15:04:16 POSLE PODNE
Nece, eo errori..!

C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 014: invalid statement; not in switch
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 001: expected token: ";", but found ":"
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\NL GameMode\gamemodes\NL.pwn(48947) : fatal error 107: too many error messages on one line


Daj liniju tih error-i
Orion Gaming
,
www.og-rp.info

SA-MP IP: uskoro
TS3 IP: uskoro

switch(dialogid)
{
case DIALOG_LIDERI:
{
if(response)
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid,3447,DSI,"{F81414}YUL:RP | {FFFFFF}Ubacivanje Clana","Unesite ID igraca kojeg zelite ubaciti u Organizaciju:","U redu","Izadji");
}
case 1:
{
ShowPlayerDialog(playerid,5337,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite ID igraca kojeg zelite izbaciti iz Organizacije:","U redu","Izadji");
}
case 2:
{
ShowPlayerDialog(playerid,7553,DSI,"{F81414}YUL:RP | {FFFFFF}Izbacivanje Clana","Unesite Nick igraca kojeg zelite offline izbaciti iz Organizacije:","U redu","Izadji");
}
case 3:
{
ShowPlayerDialog(playerid,3434,DSL,"{F81414}Rank","{F81414}YUL:RP | {FFFFFF}Rank 1\n{F81414}YUL:RP | {FFFFFF}Rank 2\n{F81414}YUL:RP | {FFFFFF}Rank 3\n{F81414}YUL:RP | {FFFFFF}Rank 4\n{F81414}YUL:RP | {FFFFFF}Pod-Lider","U redu","Izadji");
}
case 4:
{
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else
{
karina1 = 5000;
}
format(string,sizeof(string),"{FFFF33}Stanje Budzeta vase Organizacije je: {FFFFFF}%d$",karina1);
ShowPlayerDialog(playerid,3317,DIALOG_STYLE_MSGBOX,"Budzet",string,"U redu","");
}
case 5:
{
new teamnumber;
if (PlayerInfo[playerid][pLider] != 0) teamnumber = PlayerInfo[playerid][pLider];
else if (PlayerInfo[playerid][pClan] != 0) teamnumber = PlayerInfo[playerid][pClan];
new admtext[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
SCMF(playerid, WHITE,"{B7FF00}Online Clanovi | %s",admtext);

foreach (Player, i)
{
imeigraca(i, sendername);
format(string, sizeof(string), "");
if (PlayerInfo[i][pLider] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | Lider",sendername);
else if (PlayerInfo[i][pClan] == teamnumber) format(string, sizeof(string), "{B7FF00}%s | %d",sendername, PlayerInfo[i][pRank]);
if (strlen(string) > 1) SendClientMessage(playerid, ZELENKASTA, string);
}

}
case 6:
{
new string1[256];
new admtext[32];
new karina[32];
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { admtext = "MUP"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { admtext = "Blue Gang"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { admtext = "Vierra Los Aztecas"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { admtext = "Hitna Pomoc"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { admtext = "Yakuza"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { admtext = "La Cosa Nostra"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { admtext = "Vlada"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { admtext = "Hitman"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { admtext = "LS News"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { admtext = "Taxi Company"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { admtext = "Ballas"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { admtext = "Chinese Division"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { admtext = "Los Santos Vagos"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { admtext = "Grove Street"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { admtext = "Hell Rider's"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { admtext = "Orthodox Circle"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { admtext = "Tajna Org."; }
if(PlayerInfo[playerid][pClan] == 1 || PlayerInfo[playerid][pLider] == 1) { karina = "40"; }
else if(PlayerInfo[playerid][pClan] == 2 || PlayerInfo[playerid][pLider] == 2) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 3 || PlayerInfo[playerid][pLider] == 3) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 4 || PlayerInfo[playerid][pLider] == 4) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 5 || PlayerInfo[playerid][pLider] == 5) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 6 || PlayerInfo[playerid][pLider] == 6) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 7 || PlayerInfo[playerid][pLider] == 7) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 8 || PlayerInfo[playerid][pLider] == 8) { karina = "15"; }
else if(PlayerInfo[playerid][pClan] == 9 || PlayerInfo[playerid][pLider] == 9) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 10 || PlayerInfo[playerid][pLider] == 10) { karina = "10"; }
else if(PlayerInfo[playerid][pClan] == 12 || PlayerInfo[playerid][pLider] == 12) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 13 || PlayerInfo[playerid][pLider] == 13) { karina = "30"; }
else if(PlayerInfo[playerid][pClan] == 14 || PlayerInfo[playerid][pLider] == 14) { karina = "20"; }
else if(PlayerInfo[playerid][pClan] == 15 || PlayerInfo[playerid][pLider] == 15) { karina = "35"; }
else if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 17 || PlayerInfo[playerid][pLider] == 17) { karina = "25"; }
else if(PlayerInfo[playerid][pClan] == 20 || PlayerInfo[playerid][pLider] == 20) { karina = "15"; }
new karina1;
if (PlayerInfo[playerid][pLider] == 2) { karina1 = droga[bgbudzet]; }
else if (PlayerInfo[playerid][pLider] == 3) { karina1 = droga[vlabudzet]; }
else if (PlayerInfo[playerid][pLider] == 5) { karina1 = droga[yakuzabudzet]; }
else if (PlayerInfo[playerid][pLider] == 6) { karina1 = droga[lcnbudzet]; }
else if (PlayerInfo[playerid][pLider] == 12) { karina1 = droga[ballasbudzet]; }
else if (PlayerInfo[playerid][pLider] == 13) { karina1 = droga[cdbudzet]; }
else if (PlayerInfo[playerid][pLider] == 14) { karina1 = droga[lsvbudzet]; }
else if (PlayerInfo[playerid][pLider] == 15) { karina1 = droga[gsfbudzet]; }
else if (PlayerInfo[playerid][pLider] == 16) { karina1 = droga[hrbudzet]; }
else if (PlayerInfo[playerid][pLider] == 17) { karina1 = droga[ocbudzet]; }

else
{
karina1 = 5000;
}
format(string1,sizeof(string1),"{FFFF33}Org. Naziv: {FFFFFF}%s\n\
{FFFF33}Stanje Budzeta: {FFFFFF}%d$\n\
{FFFF33}* Ukupno clanova: {FFFFFF}%d\n\
{FFFF33}Max. Clanova: {FFFFFF}%s",admtext,karina1,BrojClanova[PlayerInfo[playerid][pLider]][Broj],karina);
ShowPlayerDialog(playerid,5331,DIALOG_STYLE_MSGBOX,"Org. Info",string1,"U redu","");
}
}
}
}