local fn = _gn(0x240A18690AE96513)
--- cpp
-- enum eGetClosestNodeFlags {
-- GCNF_INCLUDE_SWITCHED_OFF_NODES = 1,
-- GCNF_INCLUDE_BOAT_NODES = 2,
-- GCNF_IGNORE_SLIPLANES = 4,
-- GCNF_IGNORE_SWITCHED_OFF_DEADENDS = 8,
-- GCNF_GET_HEADING = 256,
-- GCNF_FAVOUR_FACING = 512
-- }
-- @param x X coordinate
-- @param y Y coordinate
-- @param z Z coordinate
-- @param outPosition Pointer to the found nodes coords
-- @param nodeFlags Node flags
-- @param zMeasureMult How strongly the difference in the Z direction should be weighted
-- @param zTolerance How far apart the Z coords have to be before `zMeasureMult` kicks in
-- @return Returns the closest vehicle node matching the node flags.
function Global.GetClosestVehicleNode(x, y, z, nodeFlags, zMeasureMult, zTolerance)
	return fn(x, y, z, _v, nodeFlags, zMeasureMult, zTolerance, _r)
end
