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=589621)
tag mismatch. -
StackedPizza - 21.09.2015
I had enough of this.
Quote:
line 9059 warning 213: tag mismatch
|
line 9059
Код:
if(pInfo[playerid][GodMode] == true)
Quote:
line 9105 warning 213: tag mismatch
|
line 9105
Код:
if(pInfo[playerid][GodMode] == true)
Re: tag mismatch. -
X337 - 21.09.2015
Can you show the enum of pInfo?
if it's an integer, change to this code :
Код:
if(!!pInfo[playerid][GodMode])
Re: tag mismatch. -
rinori - 21.09.2015
See if GodMode is a bool(ean). And post the pinfo enum if that doesn't help.
If you call true, as far as I remember, the called variable should be a boolean.
Re: tag mismatch. -
StackedPizza - 21.09.2015
~removed.~