Problem on possibly unintended assignment...
#1

I don't see any problem on this code, but it still says:

warning 211: possibly unintended assignment, line if (answr = "No")
error 006: must be assigned to an array, line if (answr = "No")
warning 204: symbol is assigned a value that is never used: "answr", lol? I am dunno about this..

Код:
	// Lisence driving... part 3
	if(dialogid == 1+1)
	{
		if(response)
		{
			if(listitem == 0)
			{
			new answr = strval(inputtext);
			if (answr = "No")
			{
			CarSchool[playerid] = CarSchool[playerid]+1;
			}
			}
			if(listitem == 1)
			{
			}
		}
		return 1;
	}
Reply


Messages In This Thread
Problem on possibly unintended assignment... - by woaha - 27.05.2010, 16:23
Re: Problem on possibly unintended assignment... - by MummyKillerSLO - 27.05.2010, 16:25
Re: Problem on possibly unintended assignment... - by woaha - 27.05.2010, 16:50

Forum Jump:


Users browsing this thread: 1 Guest(s)