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-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic float GetDistanceFromPoint(
Vector3 point
)
Parameters
- point
- Type: SampSharp.Entities.SAMPVector3
The point to calculate the distance from.
Return Value
Type:
SingleThe distance between the player and the point as a float.
See Also