BaseVehicleGetDistanceFromPoint Method |
This function can be used to calculate the distance (as a float) between this
BaseVehicle and
another
map coordinate.
This can be useful to detect how far a vehicle away is from a location.
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public virtual float GetDistanceFromPoint(
Vector3 point
)
Parameters
- point
- Type: SampSharp.GameModeVector3
The point.
Return Value
Type:
SingleA float containing the distance from the point specified in the coordinates.
See Also