How many feet in origin
does anyone know how many origin points are in a foot?
example: origin (1200,100,800) and origin2 (1200,100,600) how many actual feet are between the two origins? thanks |
Re: How many feet in origin
Calculate the distance..."get_distance(...)", is in units, then convert it to "meters" then to "feets" :s I will give you an e.g when i get home.
|
Re: How many feet in origin
k got it
new distance = get_distance(origin1,origin2); new feet = floatround(distance/35.0); new meter = floatround(distance/32.00); for future reference |
Re: How many feet in origin
I've maded a stock! Transform units(game distance) in feets.
Code:
stock Float:units_to_feets(num) |
Re: How many feet in origin
I though origin was in feet?
|
Re: How many feet in origin
Hmmm, dunno shure, maybe -.-'
|
Re: How many feet in origin
Might as well include this data as well Alka:
Code:
|
Re: How many feet in origin
@orangutanz - Nice thing :D
|
Re: How many feet in origin
Code:
#define UnitsToMeters(%1) (%1*0.0254) |
| All times are GMT -4. The time now is 01:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.