get_distance returning huge ints
get_distance problem when i compare to locations like so
new distance = get_distance(oldloc, newloc) then i do: client_print(0, print_chat, "Distance Debug: %d", distance) I get huge numbers back for the distance Im guessing it has to do with floats ... how can i get floats to show up correctly with decimal points and stuff. |
Are your arrays floats or integers? How do you get the values?
|
arrays are ints i believe functions such as
new origin[3] get_user_origin(id, origin) ^^ this is the jist but not actual code |
| All times are GMT -4. The time now is 19:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.