er2.getNearestVehicle 105

Get nearest vehicle from a specific location


Return value

Return TypeDescription
VehicleNearest vehicle from a location, nil if any vehicle is found.

Parameters

ParameterTypeDescription
1vec3Position where to search from
2floatMaximum search distance

Examples

No examples available.


Back to Scripting API