SA-MP Forums Archive
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: Tag Mismatch (/showthread.php?tid=532918)



Tag Mismatch - friezakinght - 21.08.2014

Hi, i have a problem with the following code:

pawn Код:
if(OXJoinEnabled == true)
{          
    OXParticipants ++;
}
It gives me this warning:

Код:
warning 213: tag mismatch
The problem line:
Код:
if(OXJoinEnabled == true)
What is wrong?


Re: Tag Mismatch - finelaq - 21.08.2014

pawn Код:
if(OXJoinEnabled == true)
{
    OXParticipants ++;
}



Re: Tag Mismatch - friezakinght - 21.08.2014

Still the same warning.


Re: Tag Mismatch - Kyance - 21.08.2014

Show us the OXJoinEnabled variable(new ....; / how you create it)


Re: Tag Mismatch - MicroD - 21.08.2014

Explain us what you want to do because you're trying to compare nonbolean value with true and increase it, which is not possible.