SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 14/06/2012, 09:04 AM   #1
Syntax
Huge Clucker
 
Join Date: Feb 2011
Posts: 224
Reputation: 24
Default Warning 213: Tag Mismatch

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

Code:
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:

Code:
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);
		}
	}
}
Syntax is offline   Reply With Quote
Old 14/06/2012, 09:08 AM   #2
Pangea
Big Clucker
 
Join Date: Feb 2011
Posts: 71
Reputation: 9
Default Re: Warning 213: Tag Mismatch

pawn Code:
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.
Pangea is offline   Reply With Quote
Old 14/06/2012, 09:21 AM   #3
Syntax
Huge Clucker
 
Join Date: Feb 2011
Posts: 224
Reputation: 24
Default Re: Warning 213: Tag Mismatch

You're a diamond. Thankyou.
Syntax is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning 213: tag mismatch rati555 Scripting Help 2 26/04/2012 12:28 AM
warning 213: tag mismatch emp7y Scripting Help 23 06/04/2012 09:23 AM
Warning: Tag Mismatch Zonoya Scripting Help 17 10/09/2011 09:44 PM
[Help] Warning 213: Tag Mismatch cembry90 Help Archive 5 14/01/2010 01:52 PM
warning 213: tag mismatch ғαιιοцт Help Archive 0 23/02/2009 05:20 PM


All times are GMT. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.