14.08.2011, 05:07
So, I tryed to check, but doesn't show the dielog
pawn Код:
if(dialogid == DIALOG_MDCNOME3)
{
new count = 0, masterstring[1024], tmpstring[128], line[128];
format(SkillBase, sizeof(SkillBase), "LSPD/Suspects/%s.ini", inputtext);
new File:arquivo = fopen(SkillBase, io_read);
while(fread(arquivo, line))
{
count ++;
format(tmpstring, sizeof(tmpstring), "%s\n", line);
strins(masterstring, tmpstring, strlen(tmpstring));
if(count == 20) break;
}
ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "-", masterstring, "Ok", "Fechar");
SCM(playerid, -1, masterstring);
return 1;
}