Posts: 44
Threads: 14
Joined: Jun 2012
Reputation:
0
hi i want know what is max number of number in player pos for save it in mysql.
Posts: 930
Threads: 7
Joined: Jul 2010
Reputation:
0
I would just say it's 5 digits long without decimals. So allow 10 digits for PlayerPos. I doubt anyone is going to travel for hours into the ocean at once. Example: 99999.99999 is probably the most you will ever get, not even that...
Posts: 566
Threads: 14
Joined: Jun 2010
Reputation:
0
don't make maximum size for a float in mysql.
just create it with that
"`X` FLOAT NOT NULL,
`Y` FLOAT NOT NULL,
`Z` FLOAT NOT NULL"
and etc..
Posts: 44
Threads: 14
Joined: Jun 2012
Reputation:
0
ok but i have a little probleme , in mysql the float value are separted with : "," and in pawn with "." i must change it with a little script or it automaticly change? // sorry for bad english :S