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=552651)
Warning #213 / Tag mismatch -
thaKing - 25.12.2014
Check Image below.
Line 1054:
pawn Код:
if(!PlayerInfo[playerid][BizID] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
Re: Warning #213 / Tag mismatch -
thaKing - 25.12.2014
I fixed by myself!
pawn Код:
if(PlayerInfo[playerid][BizID] != 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
xD
Re: Warning #213 / Tag mismatch -
M4D - 25.12.2014
when you use " ! " its mean false.
but you again use == 0
your code meaning for compiler: if Variable False False
use
! OR
== 0
pawn Код:
if(PlayerInfo[playerid][BizID] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
or
pawn Код:
if(!PlayerInfo[playerid][BizID]) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
EDIT: you fixed your code faster
if someone can, please remove my post