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=336059)



Tag mismatch - Scripter12345 - 21.04.2012

How am i getting these warnings

pawn Код:
INI_Int("PosX", PlayerInfo[playerid][PosX]);
INI_Int("PosY", PlayerInfo[playerid][PosY]);
INI_Int("PosZ", PlayerInfo[playerid][PosZ])
pawn Код:
(90) : warning 213: tag mismatch
(91) : warning 213: tag mismatch
(92) : warning 213: tag mismatch

Here is my enums


pawn Код:
Float:PosX,
Float:PosY,
Float:PosZ

Thank You


Please Help Me Please


Re: Tag mismatch - MP2 - 21.04.2012

The coordinates are floats, not integers. Change INI_Int to INI_Float.


Re: Tag mismatch - Face9000 - 21.04.2012

INI_Int is used for integers,what you're storing are X,Y,Z player floats.Use INI_Float for that.