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-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic 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