max size of player pos
#1

hi i want know what is max number of number in player pos for save it in mysql.
Reply
#2

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...
Reply
#3

ok thx
Reply
#4

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..
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)