SA-MP Forums Archive
warning 213: tag mismatch - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warning 213: tag mismatch (/showthread.php?tid=450435)



warning 213: tag mismatch - cloudysky - 13.07.2013

I keep getting tag mismatch, grrr! What is wrong?

pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 4, 285.3249, -86.0131, 1001.5156 || GetPlayerVirtualWorld(playerid) == 1))



Re: warning 213: tag mismatch - EV007 - 13.07.2013

pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 4, 285.3249, -86.0131, 1001.5156) || GetPlayerVirtualWorld(playerid) == 1)
you forgot to close IsPlayerInRangeOfPoint brackets before doing 'or' to check virtual world.


Re: warning 213: tag mismatch - ToiletDuck - 13.07.2013

Ignor this reply


Re: warning 213: tag mismatch - cloudysky - 13.07.2013

Quote:
Originally Posted by EV007
Посмотреть сообщение
pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 4, 285.3249, -86.0131, 1001.5156) || GetPlayerVirtualWorld(playerid) == 1)
you forgot to close IsPlayerInRangeOfPoint brackets before doing 'or' to check virtual world.
Thanks for the help