[BROKEN C# FUNCTION?] GetNextPositionOnSidewalk GetNextPositionOnStreet

World.GetNextPositionOnStreet(LocalPlayer.Character.Position);
World.GetNextPositionOnSidewalk(LocalPlayer.Character.Position);

The above functions are unable to return valid coordinates and always return (0 ,0 ,0)

Function.Call(Hash.GET_SAFE_COORD_FOR_PED, position.X, position.Y, position.Z, true, &outPos, 0)

it’s seem to better work with the flag at 16 then 0 , at least for me