Warning 213: Tag Mismatch
#1

I receive the warning that there's a tag mismatch on this line:

Код:
if(PlayerToPoint(3.0, playerid, 219.54347229,116.53206635,1000.57739258 || PlayerToPoint(3.0, playerid, 322.2046,310.0630,1002.0508)))
I know the warnings aren't something to worry about, but I still just want it gone... The whole part of the code is:

Код:
if(IsPlayerConnected(playerid))
{
	if(PlayerInfo[playerid][pMember] == 14)
	{
	    if(PlayerToPoint(3.0, playerid, 219.54347229,116.53206635,1000.57739258 || PlayerToPoint(3.0, playerid, 322.2046,310.0630,1002.0508)))
		{
			SetTimer("CloseJailDoors", 5000, false);
			MoveDynamicObject(SD_DOOR_JAIL[0], 220.49273682,116.54603577,1000.57739258, 2.0);
			MoveDynamicObject(SD_DOOR_JAIL[1], 216.86801147,116.49556732,1000.57739258, 2.0);
			MoveDynamicObject(SD_DOOR_JAIL[2], 322.2046,310.0630,1002.0508, 2.0);
		}
		else if(PlayerToPoint(3.0, playerid, 239.58705139,117.60168457,1004.83050537))
		{
			SetTimer("CloseSDDoor1", 5000, false);
			MoveDynamicObject(SD_DOOR[0], 239.58691406,117.60156250,1007.35797119, 2.0);
		}
		else if(PlayerToPoint(3.0, playerid, 253.28112793,110.07449341,1004.83050537))
		{
			SetTimer("CloseSDDoor2", 5000, false);
			MoveDynamicObject(SD_DOOR[1], 253.33105469,110.07714844,1007.30792236, 2.0);
		}
	}
}
Reply
#2

pawn Код:
if(PlayerToPoint(3.0, playerid, 219.54347229,116.53206635,1000.57739258) || PlayerToPoint(3.0, playerid, 322.2046,310.0630,1002.0508))
You didn't close the first PlayerToPoint with a )
Should be fixed now.
Reply
#3

You're a diamond. Thankyou.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)