Help with djson..
#7

Mhh.. still not working on Linux :/

pawn Code:
new time = GetTickCount();
new file[24], files;
for(new i; i < 1000; i ++)
{
    format(file, 24, "djson-db-cache.%d.db", i);
    if(fexist(file))
    {
        files++;
        fremove(file);
    }
}
printf("Cache files deleted in: %d ms. Total cache files deleted: %d", GetTickCount()-time, files);
It counts the files, and the ms increases(meaning that it's prossesing it), but they don't get deleted.. why?
Reply


Messages In This Thread
Help with djson.. - by The_Moddler - 27.10.2010, 23:03
Re: Help with djson.. - by Zamaroht - 28.10.2010, 00:07
Re: Help with djson.. - by The_Moddler - 28.10.2010, 00:12
Re: Help with djson.. - by Zamaroht - 28.10.2010, 00:18
Re: Help with djson.. - by iggy1 - 28.10.2010, 00:20
Re: Help with djson.. - by The_Moddler - 28.10.2010, 16:35
Re: Help with djson.. - by The_Moddler - 30.10.2010, 22:37
Re: Help with djson.. - by Retardedwolf - 30.10.2010, 22:40
Re: Help with djson.. - by The_Moddler - 30.10.2010, 22:41
Re: Help with djson.. - by The_Moddler - 31.10.2010, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)