02.03.2015, 15:41
Okay After Googling I found a stock by FireCat And I am using it Stock is
But when I use it in the following way
I get the following error
PHP код:
fRemoveLine(file[],line[])//By: Firecat
{
new string[256],
File:Temp = fopen("Temp.ini",io_append),
File:Main = fopen(file,io_read);
while(fread(Main,string))
{
if(strcmp(string,line) != 0)
{
fwrite(Temp,string);
}
}
fclose(Main);
fclose(Temp);
fremove(file);
Main = fopen(file, io_append);
Temp = fopen("Temp.ini",io_read);
while(fread(Temp,string))
{
fwrite(Main,string);
}
fclose(Main);
fclose(Temp);
fremove("Temp.ini");
return 1;
}
PHP код:
fRemoveLine(PFile,"Bans");
fRemoveLine(PFile,"BanTime");
PHP код:
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)