Missed a ")"?
#1

Errors:
Код:
C:\Program Files\eXtreme Stunt World (1)\XSW V1\gamemodes\XSW_Full.pwn(14276) : error 001: expected token: ")", but found "-identifier-"
C:\Program Files\eXtreme Stunt World (1)\XSW V1\gamemodes\XSW_Full.pwn(14276) : error 091: ambiguous constant; tag override is required (symbol "ID")
C:\Program Files\eXtreme Stunt World (1)\XSW V1\gamemodes\XSW_Full.pwn(14276) : error 029: invalid expression, assumed zero
C:\Program Files\eXtreme Stunt World (1)\XSW V1\gamemodes\XSW_Full.pwn(14276) : fatal error 107: too many error messages on one line
in line:
Код:
public SendTeamMessage(member, color, string[])
{
	foreach(Player, i)
	{
	    if(Gang[i]ID] == member || Gang[i][Rank] == member) -----------------<
	    {
			SendClientMessage(i, color, string);
		}
	}
	return 1;
}
Reply
#2

PHP код:
if(Gang[i][ID] == member || Gang[i][Rank] == member
Reply
#3

Код:
if(Gang[i][ID] == member || Gang[i][Rank] == member)
Reply
#4

Код:
if(Gang[i]ID] == member || Gang[i][Rank] == member)
see that, you need to do this instead:
Код:
if(Gang[i][ID] == member || Gang[i][Rank] == member)
aw come on when did 2 people reply! lol...
Reply
#5

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
PHP код:
if(Gang[i][ID] == member || Gang[i][Rank] == member
Thanks! You are first. (I'm give you rep+)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)