HELP: A Bug
#1

Код:
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : warning 215: expression has no effect
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(75) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
public OnGameModeInit()
{
	AddPlayerClassEx(TEAM_TERRORIST,1529.3446,-888.6906,61.1224,49.6362,0,0,0,0,0,0);
	AddPlayerClassEx(TEAM_ARMY,1553.2623,-1675.2860,16.1953,92.7704,0,0,0,0,0,0);
	AddPlayerClassEx(TEAM_CITIZEN,1553.2623,-1675.2860,16.1953,92.7704,0,0,0,0,0,0);
	SetGameModeText("Team Deathmatch");
	return 1;
}
^^
Lines 73 - 80
Reply
#2

What is
pawn Код:
TEAM_TERRORIST
Defined as?
Reply
#3

Yeah,

Код:
#define TEAM_TERRORIST
#define TEAM_ARMY
#define TEAM_CIVILIAN
Reply
#4

Ok I got that fixed but now it is:
Код:
C:\Documents and Settings\Cody\Desktop\server\gamemodes\tdm.pwn(295) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
But there is only 294 lines!!!
Reply
#5

haha got it.... XD
Reply
#6

nvm sovled =P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)