10.10.2011, 11:44
Hello, I am currently making a streamer and I need distance function.
Thank you in advance!
Thank you in advance!
stock Distance(Float:x,Float:y,Float:xx,Float:yy)
{
new XDist = Abs(x - xx);
new YDist = Abs(y - yy);
if(XDist > YDist)
{
return XDist;
}
else
{
return YDist;
}
}