07.12.2011, 13:58
Hello , i got .ini files in the folder . and i wanna get all the file names from the folder to the string.
i writed some random test code , i am a little bit beginner of it and i am stuck on it
can someone help me to fix this stupid code ?
reping too who helps , thanks.
i writed some random test code , i am a little bit beginner of it and i am stuck on it
can someone help me to fix this stupid code ?
reping too who helps , thanks.
pawn Код:
new kFile[256];
new string235[2012];
for(new i; i < MAX_RACES; i ++)
{
format(kFile, sizeof(kFile), "/initest/%s.ini", RaceListName[i]);
while(strcmp(RaceListName[i]))
{
strcat(string235, RaceListName[i], sizeof(string235));
}
}
ShowPlayerDialog(playerid,10729,DIALOG_STYLE_MSGBOX,"Ini Names",string235,"Close","");