Remove junk
#1

Hello can anyone help me why does this fremove didn't work? I'm trying to delete this while in game. Name of the file that need to be delete is "djson-db-cache.0" for example. The type of this file is "DB File".

Код:
CMD:clearcache(playerid, params[])
{
    fremove("djson-db-cache.0");
    fremove("djson-db-cache.1");
    fremove("djson-db-cache.2");
    fremove("djson-db-cache.3");
    fremove("djson-db-cache.4");
    fremove("djson-db-cache.5");
    fremove("djson-db-cache.6");
	SendClientMessageEx(playerid, COLOR_TWRED, "Server: Junk Cleaned!");
	return 1;
}
Reply


Messages In This Thread
Remove junk - by Shazwan - 03.05.2015, 10:19
Re: Remove junk - by Sledgehammer - 03.05.2015, 10:56
Re: Remove junk - by Shazwan - 03.05.2015, 11:05
Re: Remove junk - by kristo - 03.05.2015, 12:00
Re: Remove junk - by Shazwan - 03.05.2015, 12:16

Forum Jump:


Users browsing this thread: 1 Guest(s)