Error 029 help
#1

I have these lines
Код:
	PRIVATE: LoadIpBans ()
	{
		if (DOF2::FileExists (IP_BAN_FILE));
		{
			new
				File: f = fopen (IP_BAN_FILE, io_read),
				string [16];

			IpBanCount = 0;
			while (fread (f, string, sizeof (string)) && IpBanCount < sizeof (IpBans))
			{
				JB::StripNewLine (string);
				if (string [0])
				{
					IpBans [IpBanCount] = SplitIp (string);
					if (IpBans [IpBanCount] != 0xFFFFFFFF)
						++IpBanCount;
				}
			}
			fclose (f);
			JB::LogEx ("%d IP-bans have been loaded.", IpBanCount);
			return 1;
		}
and i get these errors
Код:
D:\samp\blocare casino\server\filterscripts\JB.pwn(3890) : error 029: invalid expression, assumed zero
D:\samp\blocare casino\server\filterscripts\JB.pwn(3890) : warning 215: expression has no effect
D:\samp\blocare casino\server\filterscripts\JB.pwn(3890) : error 001: expected token: ";", but found ")"
D:\samp\blocare casino\server\filterscripts\JB.pwn(3890) : error 029: invalid expression, assumed zero
D:\samp\blocare casino\server\filterscripts\JB.pwn(3890) : fatal error 107: too many error messages on one line
what should i do to fix it?
Reply


Messages In This Thread
Error 029 help - by madalindx - 02.07.2012, 11:14
Respuesta: Error 029 help - by [DOG]irinel1996 - 02.07.2012, 11:17
AW: Error 029 help - by madalindx - 02.07.2012, 11:18
Re: Error 029 help - by Rg-Gaming.Info - 02.07.2012, 11:21
AW: Error 029 help - by madalindx - 02.07.2012, 11:23
Respuesta: Error 029 help - by [DOG]irinel1996 - 02.07.2012, 11:28
AW: Error 029 help - by madalindx - 02.07.2012, 11:29

Forum Jump:


Users browsing this thread: 1 Guest(s)