Strange errors
#1

If i compile i get these errors:

Код:
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1983) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1987) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1991) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1995) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(1999) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2003) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2007) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2011) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2015) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2019) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2023) : error 004: function "CrimProxDetector" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2039) : error 004: function "BestPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2045) : error 004: function "BestPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2050) : error 004: function "BestPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2055) : error 004: function "DMPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2061) : error 004: function "DMPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2067) : error 004: function "DMPlayer" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2073) : error 004: function "RaceSpec" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2079) : error 004: function "RaceSpec" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2085) : error 004: function "RaceSpec" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2091) : error 004: function "PenDelay" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2097) : error 004: function "PenDelay" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2103) : error 004: function "PenDelay" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2109) : error 004: function "SpeedDelay" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2115) : error 004: function "SpeedDelay" is not implemented
C:\Documents and Settings\Eigenaar\Bureaublad\LVRPG\gamemodes\lvrp.pwn(2121) : error 004: function "SpeedDelay" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
This are the lines:
Код:
public CopScanner()
{
	for(new i=0; i<MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i) && gTeam[i] >= 4 && gPublicEnemy != i && gSuperCop != i && Hidden[i] !=1)
		{
			if(gTeam[i] == 4)
			{
				CrimProxDetector(radardist, i,TEAM_ORANGE1_COLOR,TEAM_ORANGE2_COLOR,TEAM_ORANGE3_COLOR,TEAM_ORANGE4_COLOR,TEAM_ORANGE5_COLOR,TEAM_ORANGE6_COLOR,TEAM_ORANGE7_COLOR,TEAM_ORANGE8_COLOR,TEAM_ORANGE9_COLOR,TEAM_ORANGE10_COLOR);
			}
			if(gTeam[i] == 5)
			{
				CrimProxDetector(radardist, i,TEAM_BALLAS1_COLOR,TEAM_BALLAS2_COLOR,TEAM_BALLAS3_COLOR,TEAM_BALLAS4_COLOR,TEAM_BALLAS5_COLOR,TEAM_BALLAS6_COLOR,TEAM_BALLAS7_COLOR,TEAM_BALLAS8_COLOR,TEAM_BALLAS9_COLOR,TEAM_BALLAS10_COLOR);
			}
			if(gTeam[i] == 6)
			{
				CrimProxDetector(radardist, i,TEAM_GROVE1_COLOR,TEAM_GROVE2_COLOR,TEAM_GROVE3_COLOR,TEAM_GROVE4_COLOR,TEAM_GROVE5_COLOR,TEAM_GROVE6_COLOR,TEAM_GROVE7_COLOR,TEAM_GROVE8_COLOR,TEAM_GROVE9_COLOR,TEAM_GROVE10_COLOR);
			}
			if(gTeam[i] == 7)
			{
				CrimProxDetector(radardist, i,TEAM_VAGOS1_COLOR,TEAM_VAGOS2_COLOR,TEAM_VAGOS3_COLOR,TEAM_VAGOS4_COLOR,TEAM_VAGOS5_COLOR,TEAM_VAGOS6_COLOR,TEAM_VAGOS7_COLOR,TEAM_VAGOS8_COLOR,TEAM_VAGOS9_COLOR,TEAM_VAGOS10_COLOR);
			}
			if(gTeam[i] == 8)
			{
				CrimProxDetector(radardist, i,TEAM_AZTECAS1_COLOR,TEAM_AZTECAS2_COLOR,TEAM_AZTECAS3_COLOR,TEAM_AZTECAS4_COLOR,TEAM_AZTECAS5_COLOR,TEAM_AZTECAS6_COLOR,TEAM_AZTECAS7_COLOR,TEAM_AZTECAS8_COLOR,TEAM_AZTECAS9_COLOR,TEAM_AZTECAS10_COLOR);
			}
			if(gTeam[i] == 9)
			{
				CrimProxDetector(radardist, i,TEAM_NANG1_COLOR,TEAM_NANG2_COLOR,TEAM_NANG3_COLOR,TEAM_NANG4_COLOR,TEAM_NANG5_COLOR,TEAM_NANG6_COLOR,TEAM_NANG7_COLOR,TEAM_NANG8_COLOR,TEAM_NANG9_COLOR,TEAM_NANG10_COLOR);
			}
			if(gTeam[i] == 10)
			{
				CrimProxDetector(radardist, i,TEAM_RIFA1_COLOR,TEAM_RIFA2_COLOR,TEAM_RIFA3_COLOR,TEAM_RIFA4_COLOR,TEAM_RIFA5_COLOR,TEAM_RIFA6_COLOR,TEAM_RIFA7_COLOR,TEAM_RIFA8_COLOR,TEAM_RIFA9_COLOR,TEAM_RIFA10_COLOR);
			}
			if(gTeam[i] == 11)
			{
				CrimProxDetector(radardist, i,TEAM_MAFIA1_COLOR,TEAM_MAFIA2_COLOR,TEAM_MAFIA3_COLOR,TEAM_MAFIA4_COLOR,TEAM_MAFIA5_COLOR,TEAM_MAFIA6_COLOR,TEAM_MAFIA7_COLOR,TEAM_MAFIA8_COLOR,TEAM_MAFIA9_COLOR,TEAM_MAFIA10_COLOR);
			}
			if(gTeam[i] == 12)
			{
				CrimProxDetector(radardist, i,TEAM_RMAFIA1_COLOR,TEAM_RMAFIA2_COLOR,TEAM_RMAFIA3_COLOR,TEAM_RMAFIA4_COLOR,TEAM_RMAFIA5_COLOR,TEAM_RMAFIA6_COLOR,TEAM_RMAFIA7_COLOR,TEAM_RMAFIA8_COLOR,TEAM_RMAFIA9_COLOR,TEAM_RMAFIA10_COLOR);
			}
			if(gTeam[i] == 13)
			{
				CrimProxDetector(radardist, i,TEAM_TRIADS1_COLOR,TEAM_TRIADS2_COLOR,TEAM_TRIADS3_COLOR,TEAM_TRIADS4_COLOR,TEAM_TRIADS5_COLOR,TEAM_TRIADS6_COLOR,TEAM_TRIADS7_COLOR,TEAM_TRIADS8_COLOR,TEAM_TRIADS9_COLOR,TEAM_TRIADS10_COLOR);
			}
			if(gTeam[i] == 14)
			{
				CrimProxDetector(radardist, i,TEAM_BIKERS1_COLOR,TEAM_BIKERS2_COLOR,TEAM_BIKERS3_COLOR,TEAM_BIKERS4_COLOR,TEAM_BIKERS5_COLOR,TEAM_BIKERS6_COLOR,TEAM_BIKERS7_COLOR,TEAM_BIKERS8_COLOR,TEAM_BIKERS9_COLOR,TEAM_BIKERS10_COLOR);
			}
		}
	}
}

public Spectator()
{
	for(new i = 0; i <= MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i) == 1)
		{
			if(TVMode[i] >= 1 && TVMode[i] <= 5)
			{
				Unspec[i][sCam] = 2;
				TVMode[i]++;
				BestPlayer(i);
			}
			if(TVMode[i] >= 6 && TVMode[i] <= 9)
			{
				Unspec[i][sCam] = 3;
				TVMode[i]++;
				BestPlayer(i);
			}
			if(TVMode[i] == 10)
			{
				TVMode[i] = 1;
				BestPlayer(i);
				Unspec[i][sCam] = random(4);
			}
			if(TVMode[i] >= 11 && TVMode[i] <= 15)
			{
				DMPlayer(i);
				Unspec[i][sCam] = 2;
				TVMode[i]++;
			}
			if(TVMode[i] >= 16 && TVMode[i] <= 19)
			{
				DMPlayer(i);
				Unspec[i][sCam] = 3;
				TVMode[i]++;
			}
			if(TVMode[i] == 20)
			{
				DMPlayer(i);
				TVMode[i] = 11;
				Unspec[i][sCam] = random(4);
			}
			if(TVMode[i] >= 21 && TVMode[i] <= 25)
			{
				RaceSpec(i);
				Unspec[i][sCam] = 2;
				TVMode[i]++;
			}
			if(TVMode[i] >= 26 && TVMode[i] <= 29)
			{
				RaceSpec(i);
				Unspec[i][sCam] = 3;
				TVMode[i]++;
			}
			if(TVMode[i] == 30)
			{
				RaceSpec(i);
				TVMode[i] = 21;
				Unspec[i][sCam] = random(4);
			}
			if(TVMode[i] >= 31 && TVMode[i] <= 35)
			{
				PenDelay(i);
				Unspec[i][sCam] = 2;
				TVMode[i]++;
			}
			if(TVMode[i] >= 36 && TVMode[i] <= 39)
			{
				PenDelay(i);
				Unspec[i][sCam] = 3;
				TVMode[i]++;
			}
			if(TVMode[i] == 40)
			{
				PenDelay(i);
				TVMode[i] = 31;
				Unspec[i][sCam] = random(4);
			}
			if(TVMode[i] >= 41 && TVMode[i] <= 45)
			{
				SpeedDelay(i);
				Unspec[i][sCam] = 2;
				TVMode[i]++;
			}
			if(TVMode[i] >= 46 && TVMode[i] <= 49)
			{
				SpeedDelay(i);
				Unspec[i][sCam] = 3;
				TVMode[i]++;
			}
			if(TVMode[i] == 50)
			{
				SpeedDelay(i);
				TVMode[i] = 41;
				Unspec[i][sCam] = random(4);
			}
Reply
#2

Ok, When you get 26 Error's It means you have missed a { or } or (or ] or ) or ; somwhere in your script. So my suggestion: Delete what ever you just did and remake it. Or Make sure you have all the { } 's!
Reply
#3

This is the last i made but i tested it and it worked:

Код:
	//icons biz lv
	AddStaticPickup(1272,23,2330.777099,2165.816162,10.828125);
	AddStaticPickup(1272,23,1530.630737,-1693.079589,13.041409);
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382812);
	AddStaticPickup(1272,23,2488.392089,2123.782226,10.820303);
	AddStaticPickup(1272,23,2017.292358,1912.762451,12.330684);
	AddStaticPickup(1272,23,2319.3069,2114.2141,10.8281);
	AddStaticPickup(1272,23,2097.659179,2224.501953,11.023432);
	AddStaticPickup(1272,23,2019.329956,1007.687744,10.820307);
	AddStaticPickup(1272,23,1872.258178,2072.062988,11.062500);
	AddStaticPickup(1272,23,1876.892822,2235.008056,11.125000);
	AddStaticPickup(1272,23,1937.614746,2307.281250,10.820307);
	AddStaticPickup(1272,23,1937.822875,2307.051269,10.820307);
	AddStaticPickup(1272,23,2083.331054,2224.530029,11.023432);
	
	//icons sbiz lv
	AddStaticPickup(1272,23,530.614257,-1696.075195,14.111610);//
	AddStaticPickup(1272,23,1630.769897,982.034240,10.820311);//
	AddStaticPickup(1272,23,1714.561523,1614.476684,10.015625);//
	AddStaticPickup(1272,23,420.305267,-1504.616577,31.246164);//
	AddStaticPickup(1272,23,1376.911254,1152.961914,10.820311);//
	AddStaticPickup(1272,23,2233.182128,1464.534667,11.054686);//
	AddStaticPickup(1272,23,1331.049804,1152.936035,10.820311);//
	AddStaticPickup(1272,23,2227.261718,1837.584106,10.820311);//
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382811);//
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382811);//
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382811);//
	AddStaticPickup(1272,23,2397.483154,1463.600463,10.820311);//
	AddStaticPickup(1272,23,2455.071289,1499.996337,11.617401);//
	AddStaticPickup(1272,23,2053.164794,2096.767578,11.057899);//
	AddStaticPickup(1272,23,2597.345703,1137.646362,10.820311);//
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382811);//
	AddStaticPickup(1272,23,1529.599975,-1691.199951,13.382811);//
In the morning i try to start server but i dont wanted, then i try to compile and then i get this errors:S
Reply
#4

Hmm... 2 thing's

A: Look fort the last thing u made that wasnt vehicle's pickup's etc. Like a command or a new or define, Piblic function etc.
B: if you want more constant help: add me on MSN: bradley@policecarmods.com

OFF TOPIC:

I like to help people. Thats why I say add me.
Reply
#5

I only added this..
Reply
#6

Where did you put it??

Try removeing it then re compileing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)