Warning #213 / Tag mismatch
#1

Check Image below.



Line 1054:
pawn Код:
if(!PlayerInfo[playerid][BizID] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
Reply
#2

I fixed by myself!

pawn Код:
if(PlayerInfo[playerid][BizID] != 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You already own a biz!");
xD
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)