errors
#1

hey guys workin on a script here that had to be decompiled cause the creater left the clan and only left the amx file so instead of recreating an entire server trying to get this one running to an editable state. Started with a shitload of errors now down to a main 3 here is the code section

Код:
function290(arg0, arg1)
{
	new File:var0 = 0, File:var1 = 0;
	if (!fexist arg0);
	{
		return 0;
	}
	var0 = fopen(arg0, 0);
	var1 = fopen(arg1, 1);
	new var2[255];
	while(fread(var0, var2, 255))
	{
		function4A8(var2);
		format(var2, 255, "%s\r\n", var2);
		fwrite(var1, var2);
	}
	fclose(var0);
	fclose(var1);
	return 1;
}
and the line that the errors are pointing to is

if (!fexist arg0);

the errors that i am getting is the following

error 076: syntax error in the expression, or invalid function call
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero

any help would be great guys ... thx in advance
Reply


Messages In This Thread
errors - by [sSs]BiGPiMP - 21.07.2009, 03:20
Re: errors - by Correlli - 21.07.2009, 03:24
Re: errors - by [sSs]BiGPiMP - 21.07.2009, 05:11
Re: errors - by Correlli - 21.07.2009, 05:20
Re: errors - by [sSs]BiGPiMP - 21.07.2009, 05:31
Re: errors - by [ERP]Snow - 21.07.2009, 05:33
Re: errors - by [sSs]BiGPiMP - 21.07.2009, 21:26
Re: errors - by Correlli - 22.07.2009, 00:10
Re: errors - by [sSs]BiGPiMP - 22.07.2009, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)