Help Me
#1

Can't Understand Value
Код:
stock GetDistance(Float:x1,Float:y1,Float:z1, Float:x2,Float:y2,Float:z2)
{
 return floatround(floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2)));
}
This function will return value in Meters or foot ?
Reply
#2

Meters, then why GetPlayerDistanceFromPoint created? it's for feet , so this one you are having for meters.
Reply
#3

There is no 'meters' or 'feet' in samp. These are just coordinates on which people make assumptions that they are meters
Reply
#4

Not meters. In samp there is co ordinates to present tye position.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)