[HELP] Team balancer - Im half way there
#1

for OnplayerRequestSpawn ive got

Код:
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			if (WestTeam[i] < EastTeam[i])
			{
			}
		}
	}
Now, i dont know wat to do, i want to make it so that If West team has more players than East team....(Btw, its defined that if a player enters server and chooses a west team skin, then WestTeam =1 and EastTeam= 0.)

These are errors i get when i compile, they are all on line 'if (WestTeam[i] < EastTeam[i])'

Код:
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 017: undefined symbol "EastTeam"
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : warning 215: expression has no effect
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
[HELP] Team balancer - Im half way there - by Mowgli - 28.07.2009, 22:01
Re: [HELP] Team balancer - Im half way there - by miceiken - 28.07.2009, 22:39
Re: [HELP] Team balancer - Im half way there - by Fukara_GM - 28.07.2009, 22:42
Re: [HELP] Team balancer - Im half way there - by D3nnis - 28.07.2009, 22:55
Re: [HELP] Team balancer - Im half way there - by Mowgli - 28.07.2009, 23:06
Re: [HELP] Team balancer - Im half way there - by D3nnis - 29.07.2009, 10:54

Forum Jump:


Users browsing this thread: 1 Guest(s)