SA-MP Forums Archive
Help with float in sqlite - 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: Help with float in sqlite (/showthread.php?tid=577606)



Help with float in sqlite - FplayerGR - 12.06.2015

Hello guys i have one question how to get one float with sqlite?

my code here:

Код:
db_get_field_assoc(Result,"x",Pos[0],32);
db_get_field_assoc(Result,"y",Pos[1],32);
db_get_field_assoc(Result,"z",Pos[2],32);
and i have x3 this warning : warning 213: tag mismatch


thanks


Re: Help with float in sqlite - Konstantinos - 12.06.2015

https://sampwiki.blast.hk/wiki/Db_get_field_assoc

Store it to a temporary string and then floatstr the result.


Re: Help with float in sqlite - FplayerGR - 12.06.2015

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/Db_get_field_assoc

Store it to a temporary string and then floatstr the result.
thank you very much +rep