tag mismatching.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: tag mismatching.. (
/showthread.php?tid=143316)
tag mismatching.. -
0ne - 22.04.2010
I got some tag mismatches on these:
pawn Код:
dini_IntSet(Data, "X", playerDB[playerid][plX]);
dini_IntSet(Data, "Y", playerDB[playerid][plY]);
dini_IntSet(Data, "Z", playerDB[playerid][plZ]);
they are defined as Float
![Tongue](images/smilies/razz.gif)
lX,Float
![Tongue](images/smilies/razz.gif)
lY,Float
![Tongue](images/smilies/razz.gif)
lZ. works fine when using setplayerpos with it.. anyone knows the problem?
Re: tag mismatching.. -
Calgon - 22.04.2010
Change dini_IntSet to dini_FloatSet as you're saving a float, not an integer.
Re: tag mismatching.. -
0ne - 22.04.2010
thank you