Errors..
#1

This was Mafia vs noob game mode but i changed the names.

Code:
C:\Users\james\Documents\WORLD WAR 3.pwn(53) : error 017: undefined symbol "TEAM_TERRORIST_COLOR"
C:\Users\james\Documents\WORLD WAR 3.pwn(57) : error 017: undefined symbol "TEAM_ARMY_COLOR"
C:\Users\james\Documents\WORLD WAR 3.pwn(174) : error 017: undefined symbol "TEAM_TERRORIST"
C:\Users\james\Documents\WORLD WAR 3.pwn(185) : error 017: undefined symbol "TEAM_ARMY"
C:\Users\james\Documents\WORLD WAR 3.pwn(202) : error 017: undefined symbol "TEAM_ARMY"
C:\Users\james\Documents\WORLD WAR 3.pwn(208) : error 017: undefined symbol "TEAM_TERRORIST"
C:\Users\james\Documents\WORLD WAR 3.pwn(240) : warning 215: expression has no effect
C:\Users\james\Documents\WORLD WAR 3.pwn(102) : warning 204: symbol is assigned a value that is never used: "GameTimer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
6 Errors.
First Error Code:
Code:
SetPlayerColor(playerid,TEAM_TERRORIST_COLOR);
Second:
Code:
SetPlayerColor(playerid,TEAM_ARMY_COLOR);
Third
Code:
	if(gTeam[playerid] == TEAM_TERRORIST)
4th
Code:
	else if(gTeam[playerid] == TEAM_ARMY)
5th
Code:
	if(killerid == TEAM_ARMY)
6th
Reply
#2

Hey someone? anyways i fixed the 4 errors and 1 warning.

I got only 1 warning left

Code:
C:\Users\james\Documents\WORLD WAR 3.pwn(102) : warning 204: symbol is assigned a value that is never used: "GameTimer"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
That warning is in this:
Code:
	GameTimer = SetTimer("GameTime",1000,1);
Reply
#3

Delete GateTimer.
Reply
#4

Add this to your gamemode.

PHP Code:
#define TEAM_ARMY
#define TEAM_TERRORIST
#define TEAM_ARMY_COLOR      0x33AA33AA
#define TEAM_TERRORIST_COLOR        0xE60000FF 
Reply
#5

i got that wood all is fixed but i got 1 warning check my 2nd post.
Reply
#6

Delete this from your gamomode:

PHP Code:
GameTimer SetTimer("GameTime",1000,1); 
Reply
#7

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)