loading houses from mysql.
#9

Quote:
Originally Posted by FUNExtreme
What are you connecting to?

pawn Код:
MySQLConnect();
thats my function to connect / check the connection ;P

Quote:
Originally Posted by kc
Coordinates are floating point numbers.

Take a look at the "Float:" tag, and also at "floatstr".
doh, im talking bout mysql shit >

so again:

what should i use for simple coords like:

-1913.316162 1253.743408 19.500000

i got this: FLOAT( 6, 6 ) = good?


edit: ERROR i got FLOAT( 4, 4) now, but its not working properly >.>

Код:
0 row(s) edited.
Warning: #1264 Out of range value adjusted for column 'ex' at row 1

UPDATE `samp`.`houses` SET `ex` = '-1913.316162' WHERE `houses`.`house_id` =1 LIMIT 1 ;
Reply


Messages In This Thread
loading houses from mysql. - by Think - 03.04.2009, 23:55
Re: loading houses from mysql. - by Donvalley - 03.04.2009, 23:57
Re: loading houses from mysql. - by ICECOLDKILLAK8 - 04.04.2009, 00:01
Re: loading houses from mysql. - by Donvalley - 04.04.2009, 00:08
Re: loading houses from mysql. - by ICECOLDKILLAK8 - 04.04.2009, 00:10
Re: loading houses from mysql. - by Think - 04.04.2009, 08:30
Re: loading houses from mysql. - by FUNExtreme - 04.04.2009, 08:34
Re: loading houses from mysql. - by kc - 04.04.2009, 08:45
Re: loading houses from mysql. - by Think - 04.04.2009, 08:57
Re: loading houses from mysql. - by Think - 04.04.2009, 11:48

Forum Jump:


Users browsing this thread: 2 Guest(s)