SA-MP Forums Archive
Warning 213: tag mismatch PLEASE - 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 PLEASE (/showthread.php?tid=348111)



Warning 213: tag mismatch PLEASE - Edii - 04.06.2012

pawn Код:
INI_WriteInt(File,"Armour", GetPlayerArmour(playerid, Armour));
That's the line where i get the error
pawn Код:
warning 213: tag mismatch



Re: Warning 213: tag mismatch PLEASE - iggy1 - 04.06.2012

GetPlayerArmour stores the armour in the variable you pass to it.
pawn Код:
GetPlayerArmour(playerid, Armour);
INI_WriteInt(File,"Armour", Armour);



Re: Warning 213: tag mismatch PLEASE - Edii - 04.06.2012

Same thing,tag mistmatch


Re: Warning 213: tag mismatch PLEASE - iggy1 - 04.06.2012

OOps. You need to use the correct ini funcs, INI_WriteInt is for integers not floating point numbers.

pawn Код:
GetPlayerArmour(playerid, Armour);
INI_WriteFloat(File,"Armour", Armour);



Re: Warning 213: tag mismatch PLEASE - Edii - 04.06.2012

Now i have problems with player health,i maked it to save but when i spawn i die,why?