03.05.2015, 10:19
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;
}

