SA-MP Forums Archive
Save Floats with Dini - 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: Save Floats with Dini (/showthread.php?tid=152633)



Save Floats with Dini - Jochemd - 05.06.2010

Hello,

pawn Код:
{
          new Float:X, Float:Y, Float:Z;
          GetPlayerPos(playerid,X,Y,Z);
          dini_IntSet(file, "PosX", X);
          dini_IntSet(file, "PosY", Y);
  dini_IntSet(file, "PosZ", Z);
        }
= Tag mismatch for the dini_IntSets. I only have this problemn with saving the Floats, not with the othger things. Can someone help me out?

Regards, Jochem


Re: Save Floats with Dini - Calgon - 05.06.2010

You'll want to dini_FloatSet, not dini_IntSet

Common sense.


Re: Save Floats with Dini - Jochemd - 05.06.2010

Ok, thank you. I couldn't find the right solution.