Click or drag to resize

BasePlayerGetDistanceFromPoint Method

Calculate the distance between this BasePlayer and a map coordinate.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual float GetDistanceFromPoint(
	Vector3 point
)

Parameters

point
Type: SampSharp.GameModeVector3
The point to calculate the distance from.

Return Value

Type: Single
The distance between the player and the point as a float.
See Also