Help with compile
#1

Hey,

When i try to compile this:

Код:
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] == 78)
			{
				"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);,
			}
		}
	}
}
I get these errors:
Код:
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732 -- 1733) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732 -- 1734) : error 029: invalid expression, assumed zero
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1734 -- 1735) : error 029: invalid expression, assumed zero
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736 -- 1737) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736 -- 1738) : error 029: invalid expression, assumed zero
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1738 -- 1739) : error 029: invalid expression, assumed zero
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1740 -- 1741) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1741) : error 001: expected token: ";", but found "}"
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1744 -- 1745) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1745) : error 001: expected token: ";", but found "}"
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1748) : error 037: invalid string (possibly non-terminated string)
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1748) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1748) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1748) : error 004: function "CrimProxDetector" is not implemented
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1748) : fatal error 107: too many error messages on one line

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


10 Errors.
Can someone help me??
Reply
#2

delete , and * things on the end of the lines. I don't know from where you got them ...
Reply
#3

Quote:
Originally Posted by $ЂЯĢ
delete , and * things on the end of the lines. I don't know from where you got them ...
And the ", basically anything on the same line after the ;
Reply
#4

Okay thanks.
But now i still get these errors:

Код:
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : error 037: invalid string (possibly non-terminated string)
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : error 004: function "CrimProxDetector" is not implemented
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : fatal error 107: too many error messages on one line

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


4 Errors.
All on this line...:

Код:
"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);
Please help!
Reply
#5

Don't PM me asking for help please.

pawn Код:
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);
Reply
#6

Lol, now i get 5 errors:

Код:
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1732) : error 004: function "CrimProxDetector" is not implemented
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736) : error 037: invalid string (possibly non-terminated string)
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736) : warning 215: expression has no effect
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736) : error 004: function "CrimProxDetector" is not implemented
C:\Users\Juul\Desktop\EastCoast Real Life ServeR\PenLS\penls0.2\penls0.2\penls0.2\penls0.2\penls0.2\penls.pwn(1736) : fatal error 107: too many error messages on one line

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


5 Errors.
PLEASE HELP...!
Reply
#7

Stop spamming us over PM please.
Reply
#8

Quote:
Originally Posted by $ЂЯĢ
Stop spamming us over PM please.
You can block him to stop him from PMing you.
Reply
#9

Sorry but can somebody help me then??
Reply
#10

Don't PM me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)