problem in channel radio.
#1

(20522) : error 017: undefined symbol "id"


Код:
20522: if(user[i][jCanalRadio] == user[id][jCanalRadio]
Код:
stock _MensajeRfac(member, color, string[], division = -1, division2 = -1, division3 = -1)
{
	foreach(Player, i)
	{
	    if(member == 1)
	    {
			if(user[i][jMiembro] == member)
			{
			    if(user[i][jDivision] == division || user[i][jDivision] == division2 || user[i][jDivision] == division3)
				{
				    if(user[i][jCanalRadio] == user[id][jCanalRadio]
				    {
						SendSplitMessage(i, color, string);
					}
				}
			}
	    }
	    else
	    {
			if(user[i][jMiembro] == member)
			{
				SendSplitMessage(i, color, string);
			}
		}
	}
}
Reply
#2

replace id with i
Reply
#3

I dont understand why u need this 'id' or this line if(user[i][jCanalRadio] == user[id][jCanalRadio])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)