16.04.2012, 11:39
How can I loop files and return each identical value (in 1 string) with 1 function?
Here is my code:
Here is my code:
pawn Код:
for(new i; i < MAX_FILES; i++)//Loop my files
{
if(strcmp(FileInfo[i][Owner], GetName(playerid), true))//if the playerid's name is the files "Owner"
{
new biz[50];
format(biz, sizeof(biz), "%s" FileInfo[i][Name]);
//Store biz and continue loop to get the rest of the files Names? :S
}
}