SA-MP Forums Archive
HELP: A Bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HELP: A Bug (/showthread.php?tid=117065)



HELP: A Bug - C0DYL - 31.12.2009

Код:
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


Re: HELP: A Bug - [HiC]TheKiller - 31.12.2009

What is
pawn Код:
TEAM_TERRORIST
Defined as?


Re: HELP: A Bug - C0DYL - 31.12.2009

Yeah,

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



Re: HELP: A Bug - C0DYL - 31.12.2009

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!!!


Re: HELP: A Bug - C0DYL - 31.12.2009

haha got it.... XD


Re: HELP: A Bug - fsnameless - 31.12.2009

nvm sovled =P