Help in zones
#1

Hi i start to make more cupter zones on Call of Duty gamemode i start to add the first zone its in LVA
Now i copy the zone like all zones but when i Run the server Look what i have pls help me fast
Код:
C:\Users\morjan\Documents\New folder\pawno\include\lethaldudb2.inc(36) : warning 217: loose indentation
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(158) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 017: undefined symbol "tcp"
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : warning 215: expression has no effect
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 001: expected token: ";", but found "]"
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 029: invalid expression, assumed zero
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply
#2

COOODe liineees pls... we cant take an error line from finger...
Reply
#3

The lines that have a error and this error come when i add LVA this zone i want to add
Код:
new tCP[30];
new UnderAttack[30] = 0;
new CP[30];
new Zone[30];
new Captured[MAX_PLAYERS][30];
new UpdateTimer[MAX_PLAYERS];
new timer[MAX_PLAYERS][30];
new CountVar[MAX_PLAYERS][30];
new Text:CountText[MAX_PLAYERS];
new IsPlayerCapturing[MAX_PLAYERS][30];
Код:
	//------Capture Zone Fix--------
 	tCP[SNAKE] = TEAM_NONE;
 	tCP[BAY] = TEAM_NONE;
 	tCP[BIG] = TEAM_NONE;
 	tCP[ARMY] = TEAM_NONE;
 	tCP[PETROL] = TEAM_NONE;
 	tCP[OIL] = TEAM_NONE;
 	tCP[DESERT] = TEAM_NONE;
	tCP[QUARRY] = TEAM_NONE;
	tCP[GUEST] = TEAM_NONE;
	tCP[EAR] = TEAM_NONE;
	tcp[LVA] = TEAM_NONE; //here is line 603

	UnderAttack[SNAKE] = 0;
	UnderAttack[BAY] = 0;
	UnderAttack[BIG] = 0;
	UnderAttack[ARMY] = 0;
	UnderAttack[PETROL] = 0;
	UnderAttack[OIL] = 0;
	UnderAttack[DESERT] = 0;
	UnderAttack[QUARRY] = 0;
	UnderAttack[GUEST] = 0;
	UnderAttack[EAR] = 0;
	UnderAttack[LVA} = 0;
Reply
#4

At the top of your script add
pawn Код:
#pragma tabsize 0
For the error in line 158 it is because you have defined 2 COLOR_GREEN So remove one of COLOR_GREEN

and this change it to

pawn Код:
tCP[LVA] = TEAM_NONE;
Reply
#5

Ok what in the other errors
Reply
#6

What are the other errors? show me
Reply
#7

When i want to add other Cupter zone i copy like other zones all thing but change his name to LVA now error show
Код:
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 017: undefined symbol "tcp"
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : warning 215: expression has no effect
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 001: expected token: ";", but found "]"
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : error 029: invalid expression, assumed zero
C:\Users\morjan\Documents\New folder\gamemodes\codwwv2.0.pwn(603) : fatal error 107: too many error messages on one line
Reply
#8

Quote:
Originally Posted by iThePunisher
Посмотреть сообщение
At the top of your script add
pawn Код:
#pragma tabsize 0
For the error in line 158 it is because you have defined 2 COLOR_GREEN So remove one of COLOR_GREEN

and this change it to

pawn Код:
tCP[LVA] = TEAM_NONE;
If you want to have good identation to your scipt... NEVER USE #pragma tabsize 0!
Reply
#9

Huys i want to fix other errors that in line 603
Reply
#10

Quote:
Originally Posted by iThePunisher
Посмотреть сообщение
At the top of your script add
pawn Код:
#pragma tabsize 0
For the error in line 158 it is because you have defined 2 COLOR_GREEN So remove one of COLOR_GREEN

and this change it to

pawn Код:
tCP[LVA] = TEAM_NONE;
Look i already told you how to fix the other bug


at line 603 add this
pawn Код:
[pawn]tCP[LVA] = TEAM_NONE;
[/QUOTE] [/pawn]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)