Dialog doesnt appears.
#1

pawn Код:
case 2:
        {
        new string[240];
        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 org = PlayerOrg[playerid];
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))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file1,"Member1"));
if(!dini_Exists(file1))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file2))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file2,"Member1"));
if(!dini_Exists(file2))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file3))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file3,"Member1"));
if(!dini_Exists(file3))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file4))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file4,"Member1"));
if(!dini_Exists(file4))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file5))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file5,"Member1"));
if(!dini_Exists(file5))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file6))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file6,"Member1"));
if(!dini_Exists(file6))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file7))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file7,"Member1"));
if(!dini_Exists(file7))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file8))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file8,"Member1"));
if(!dini_Exists(file8))
format(string,sizeof(string),"%s\nUnused Spot",string);
if(dini_Exists(file9))
format(string,sizeof(string),"%s\n%s",string,dini_Get(file9,"Member1"));
if(!dini_Exists(file9))
format(string,sizeof(string),"%s\nUnused Spot",string);
ShowPlayerDialog(playerid,9993,DIALOG_STYLE_LIST,"Memberlist",string,"Ok","Cancel");
}
}
No errors. but the problem is that doesnt appears the dialog in game.
Reply
#2

Increase the string size, if that doesn't work let me know.
Reply
#3

how much i increase the string size show me.
Reply
#4

Try 512.
Reply
#5

TRY:

pawn Код:
new string[400];
EDIT: OR the above comment, it makes no difference!

Thanks @ Commenter above!
Reply
#6

Didnt worked still, tried both.
Reply
#7

sort this out fast pls.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)