error codes
#2

Quote:
Originally Posted by karolissas
Посмотреть сообщение
Error codes
Код:
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2294) : error 035: argument type mismatch (argument 1)
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2409) : error 017: undefined symbol "glob0"
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2409) : warning 215: expression has no effect
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2409) : error 001: expected token: ";", but found "]"
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2409) : error 029: invalid expression, assumed zero
C:\Users\Core i5\Desktop\GRP4 EDITED\gamemodes\grandlarc.pwn(2409) : fatal error 107: too many error messages on one line
on those lines

Код:
 if(!IsPlayerConnected(playerid))
	{
		return 0;
	}
	if(GetPlayerState(playerid) == 2)
	{
		new var0 = 0;
		while(++var0 < 200)
		{
		//2409 line -->	if(IsPlayerInRangeOfPoint(playerid, 1077936128, glob0[var0][1], glob0[var0][2], glob0[var0][3]))
			{
				if(glob0[var0][0] == 1)
				{
					new var1 = 0, var2 = 0, var3 = 0, var4 = 0;
					new var5 = GetPlayerVehicleID(playerid);
					GetVehicleDamageStatus(var5, var1, var2, var3, var4);
					var4 = functionAC4(1, 1, 1, 1);
					UpdateVehicleDamageStatus(var5, var1, var2, var3, var4);
					return 0;
				}
			}
		}
	}
Second error lines
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
new var0[256];
	new var1 = 0;
	//2294  line --> var0 = functionB38(cmdtext, var1);
	if(!strcmp(var0, "/spygliai", true))
	{
		if(Policininkas[playerid] == false)
		{
			return SendClientMessage(playerid, 0x10F441AA, "Љi komanda policininkams.");
		}
		new Float:var2 = 0.0, Float:var3 = 0.0, Float:var4 = 0.0, Float:var5 = 0.0;
		GetPlayerPos(playerid, var2, var3, var4);
		GetPlayerFacingAngle(playerid, var5);
		function360(var2, var3, var4, var5);
		return 1;
	}
	if(!strcmp(var0, "/spygliaip", true))
	{
		if(Policininkas[playerid] == false)
		{
			return SendClientMessage(playerid, 0x10F441AA, "Љi komanda policininkams.");
		}
		function810(playerid);
		SendClientMessage(playerid, 0x10F441AA, "Panaikinai paskutinius padetus spyglius.");
		return 1;
	}
	if(!strcmp(var0, "/spygliaivs", true))
	{
		if(Policininkas[playerid] == false)
		{
			return SendClientMessage(playerid, 0x10F441AA, "Љi komanda policininkams.");
		}
		function644();
		SendClientMessage(playerid, 0x10F441AA, "Panaikinai visus spyglius.");
		return 1;
	}
     return 0;
}
Where is defined glob0?
What's the prototype of functionB38() (in meaning: what are the formal arguments for it)?

Greetings.
Reply


Messages In This Thread
error codes - by karolissas - 26.08.2015, 08:52
Re: error codes - by LetsOWN[PL] - 26.08.2015, 08:56
Re: error codes - by karolissas - 26.08.2015, 08:59
Re: error codes - by karolissas - 26.08.2015, 09:01
Re: error codes - by LetsOWN[PL] - 26.08.2015, 09:15
Re: error codes - by karolissas - 26.08.2015, 09:23
Re: error codes - by karolissas - 26.08.2015, 09:43
Re: error codes - by BKarner - 26.08.2015, 13:53

Forum Jump:


Users browsing this thread: 2 Guest(s)