local fn = _gn(0x6E01E9E8D89F8276)
--- This task warps a ped directly into a cover position closest to the specified point. This can be used to quickly place peds in strategic positions during gameplay.
-- ```
-- NativeDB Introduced: 2545
-- ```
-- @param ped The ped to warp into cover.
-- @param time Duration in milliseconds the ped should take to enter the cover.
-- @param canPeekAndAim If `true`, allows the ped to peek and aim while in cover.
-- @param forceInitialFacingDirection If `true`, forces the ped to face the initial direction when entering cover.
-- @param forceFaceLeft If `true`, forces the ped to face left relative to the cover position.
-- @param coverIndex The index of the cover point to warp the ped to. If `null`, the game will choose the nearest cover point.
function Global.TaskWarpPedDirectlyIntoCover(ped, time, canPeekAndAim, forceInitialFacingDirection, forceFaceLeft, coverIndex)
	return _in2(fn, ped, time, canPeekAndAim, forceInitialFacingDirection, forceFaceLeft, coverIndex)
end
