what does this mean ?
#1

Код:
.pwn(1712) : warning 211: possibly unintended assignment
the line is ....
Код:
if(gTeam[playerid] = TEAM_WEST)
	{
    SetPlayerHealth(playerid, 0);
		return 1;
  }
I cant get it work ..
Reply
#2

You need an additional = on the if statement
Reply
#3

Using 1 = means you are making something equal something. Using 2 == is a check to see if one thing is equal to another.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)