[MySql] Saving cordinates into database. - 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: [MySql] Saving cordinates into database. (
/showthread.php?tid=466864)
[MySql] Saving cordinates into database. -
Unri - 29.09.2013
Hello. How do i properly save cordinates into database? It doesnt accept cordinates like 432.2341 because of the dot. How can i make that dot to be a comma?
Re: [MySql] Saving cordinates into database. -
DanishHaq - 29.09.2013
How do you save the coordinate? As a varchar, integer or float? You should be saving them as float's because they have a dot inside of them. If that doesn't work, try and save it as a varchar.
Re: [MySql] Saving cordinates into database. -
Unri - 29.09.2013
It is float and varchar did not work. Maybe ive made a mistake in the script. Gonna go trough it more carefully.