Doesnt shows the dialog
#1

pawn Код:
case 4:
        {
        new file1[256],file2[256],file3[256],file4[256],file5[256],file6[256],file7[256],file8[256],file9[256],file10[256];
new MyDialog[256];
new string[250],string2[250],string3[250],string4[250],string5[250],string6[250],string7[250],string8[250],string9[250],string10[250];
 for (new i=1;i<OrgsCount+1;i++)
        {
format(file1,sizeof(file1),"Member1%d.txt",Organization[i][ORGID]);
format(file2,sizeof(file2),"Member2%d.txt",Organization[i][ORGID]);
format(file3,sizeof(file3),"Member3%d.txt",Organization[i][ORGID]);
format(file4,sizeof(file4),"Member4%d.txt",Organization[i][ORGID]);
format(file5,sizeof(file5),"Member5%d.txt",Organization[i][ORGID]);
format(file6,sizeof(file6),"Member6%d.txt",Organization[i][ORGID]);
format(file7,sizeof(file7),"Member7%d.txt",Organization[i][ORGID]);
format(file8,sizeof(file8),"Member8%d.txt",Organization[i][ORGID]);
format(file9,sizeof(file9),"Member9%d.txt",Organization[i][ORGID]);
format(string,sizeof(string),"%s\n%s",string,Organization[i][Leader]);
if(dini_Exists(file1))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file1,"Member1"));
if(!dini_Exists(file1))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file2))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file2,"Member1"));
if(!dini_Exists(file2))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file3))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file3,"Member1"));
if(!dini_Exists(file3))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file4))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file4,"Member1"));
if(!dini_Exists(file4))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file5))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file5,"Member1"));
if(!dini_Exists(file5))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file6))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file6,"Member1"));
if(!dini_Exists(file6))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file7))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file7,"Member1"));
if(!dini_Exists(file7))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file8))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file8,"Member1"));
if(!dini_Exists(file8))
return format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file9))
return format(string,sizeof(string),"%s\n%s",string,dini_Get(file9,"Member1"));
if(!dini_Exists(file9))
return format(string,sizeof(string),"%s\nUnused Spot",string);
ShowPlayerDialog(playerid,9993,DIALOG_STYLE_LIST,"Memberlist",string,"Ok","Cancel");
}
}
No error no warning pelase help fast
but it doesnt shows the dialog.
Reply
#2

dafuq is happening? no one is replying. all of u are mad or fucked?
Reply
#3

Remove the "return" before each "format". The code after a return won't be executed, so it won't show you the dialog.
Reply
#4

removed return still didnt worked
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)