21.04.2009, 20:17
It's supposed to use a distance algorithm for 3 coordinates, X, Y, and Z. By giving the playerid, you're giving the function the coordinates for the player. So the distance between the player's X,Y,Z coordinates and the X,Y,Z coordinates should be less than the radius you asked for (i.e. 10) and it will return 1, meaning the player IS closer than 10 to the point given. Otherwise it returns 0, meaning the player is further than 10 from the point.

