27.11.2010, 12:14
I've tested this one:
Worked for me.
I've written into the Numbers.txt:
Just to test it.
Try it out, it should work.
pawn Код:
new File:UsedNumbers, stringy[20];
if((UsedNumbers = fopen("Numbers.txt",io_read)))
{
while(fread(UsedNumbers,stringy))
{
PhoneNumbers[strval(stringy)] = 1;
}
}
fclose(UsedNumbers);
I've written into the Numbers.txt:
Код:
12 54 55
Try it out, it should work.

