Click or drag to resize

PlayerGetDistanceFromPoint Method

Calculate the distance between this player and a map coordinate.

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

Parameters

point
Type: SampSharp.Entities.SAMPVector3
The point to calculate the distance from.

Return Value

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