Annoying Tag Mismatch
#1

Hi, i'm having trouble with Floats and tag mismatch. I have an INI account system which works like this for example:

For an integer:
Store: Takes integer, converts it to string, and saves it as a string in INI file
Load: Takes string in INI file, converts it back to an integer using strval, and returns.

For a float I tried the same process:
Store: Takes float, converts it to string, and saves it as a string in INI file
Load: Takes string in INI file, converts it back to a float using floatstr, and returns.

However I am getting a tag mismatches for returning the float. I've tried nearly everything I can think of and nothing seems to remove this warning. My only guess is that floatstr is broken?

Код:
C:\Users\Mike\Desktop\SAMP\LG\pawno\include\ACC.inc(176) : warning 213: tag mismatch
C:\Users\Mike\Desktop\SAMP\LG\pawno\include\ACC.inc(320) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Code: http://pastebin.com/wfeJx8nz
The lines that have warnings on them (176,320) are highlighted on the paste bin.

Below is the code I am trying to perform.


pawn Код:
SetPlayerPos(playerid, AccountGetFloat(PlayerName, "posx"), AccountGetFloat(PlayerName, "posy"), AccountGetFloat(PlayerName, "posz"));

Thanks,
-Mike
Reply


Messages In This Thread
[Fixed] Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:09
Re: Annoying Tag Mismatch - by Grim_ - 09.11.2010, 22:18
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:20
Re: Annoying Tag Mismatch - by Grim_ - 09.11.2010, 22:23
Re: Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:29
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:33
Re: Annoying Tag Mismatch - by lavamike - 09.11.2010, 22:46
Re: Annoying Tag Mismatch - by The_Moddler - 09.11.2010, 22:54
Re: Annoying Tag Mismatch - by Bessensap - 10.11.2010, 13:37
Re: Annoying Tag Mismatch - by The_Moddler - 10.11.2010, 15:52

Forum Jump:


Users browsing this thread: 1 Guest(s)